[MSCONFIG_NEW] C++ is coming. Resistance is futile.
[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 # toolspage.c
14 # srvpage.c
15 # systempage.c
16 # startuppage.c
17 # freeldrpage.c
18 generalpage.c
19 msconfig.c
20 stringutils.c
21 utils.c)
22
23 list(APPEND CPP_SOURCE
24 toolspage.cpp
25 xmldomparser.cpp
26 precomp.h)
27
28 add_rc_deps(msconfig.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/msconfig.ico)
29 add_executable(msconfig_new ${C_SOURCE} ${CPP_SOURCE} msconfig.rc)
30 add_pch(msconfig_new precomp.h CPP_SOURCE)
31 set_module_type(msconfig_new win32gui UNICODE)
32 target_link_libraries(msconfig_new comsupp)
33 add_importlibs(msconfig_new user32 advapi32 version comctl32 ole32 oleaut32 msxml3 shell32 shlwapi msvcrt kernel32)
34 add_cd_file(TARGET msconfig_new DESTINATION reactos/system32 FOR all)