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