[CLASS2]
[reactos.git] / base / applications / msconfig_new / CMakeLists.txt
1
2 PROJECT(msconfig_new)
3
4 set_cpp(WITH_RUNTIME WITH_EXCEPTIONS)
5
6 include_directories(
7 .
8 comctl32ex
9 ${REACTOS_SOURCE_DIR}/sdk/include/c++
10 ${REACTOS_SOURCE_DIR}/sdk/lib/atl)
11
12 list(APPEND C_SOURCE
13 comctl32ex/comctl32supp.c
14 comctl32ex/listview.c
15 comctl32ex/treeview.c
16 comctl32ex/uxthemesupp.c
17 fileextractdialog.c
18 fileutils.c
19 freeldrpage.c
20 generalpage.c
21 msconfig.c
22 regutils.c
23 # startuppage.c
24 stringutils.c
25 utils.c)
26
27 list(APPEND CPP_SOURCE
28 systempage.cpp
29 srvpage.cpp
30 toolspage.cpp
31 xmldomparser.cpp
32 precomp.h)
33
34 add_rc_deps(msconfig.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/msconfig.ico)
35 add_executable(msconfig_new ${C_SOURCE} ${CPP_SOURCE} msconfig.rc)
36 add_pch(msconfig_new precomp.h CPP_SOURCE)
37 set_module_type(msconfig_new win32gui UNICODE)
38 target_link_libraries(msconfig_new atlnew comsupp)
39 add_importlibs(msconfig_new user32 gdi32 comctl32 comdlg32 advapi32 version ole32 oleaut32 msxml3 shell32 shlwapi msvcrt kernel32)
40 add_cd_file(TARGET msconfig_new DESTINATION reactos/system32 FOR all)