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