1 2PROJECT(msconfig_new) 3 4set_cpp(WITH_RUNTIME WITH_EXCEPTIONS) 5 6include_directories( 7 . 8 comctl32ex 9 ${REACTOS_SOURCE_DIR}/sdk/include/c++ 10 ${REACTOS_SOURCE_DIR}/sdk/lib/atl) 11 12list(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 27list(APPEND CPP_SOURCE 28 systempage.cpp 29 srvpage.cpp 30 toolspage.cpp 31 xmldomparser.cpp 32 precomp.h) 33 34add_rc_deps(msconfig.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/msconfig.ico) 35add_executable(msconfig_new ${C_SOURCE} ${CPP_SOURCE} msconfig.rc) 36add_pch(msconfig_new precomp.h CPP_SOURCE) 37set_module_type(msconfig_new win32gui UNICODE) 38target_link_libraries(msconfig_new comsupp) 39add_importlibs(msconfig_new user32 gdi32 comctl32 comdlg32 advapi32 version ole32 oleaut32 msxml3 shell32 shlwapi msvcrt kernel32) 40add_cd_file(TARGET msconfig_new DESTINATION reactos/system32 FOR all) 41