1 2PROJECT(drwtsn32) 3 4set_cpp(WITH_RUNTIME WITH_EXCEPTIONS WITH_STL) 5include_directories( 6 ${REACTOS_SOURCE_DIR}/sdk/lib/atl 7 ${REACTOS_SOURCE_DIR}/sdk/lib/udmihelp) 8 9list(APPEND CPP_SOURCE 10 drwtsn32.cpp 11 main.cpp 12 stacktrace.cpp 13 sysinfo.cpp 14 drwtsn32.h 15 precomp.h) 16 17add_executable(drwtsn32 ${CPP_SOURCE} drwtsn32.rc) 18add_pch(drwtsn32 precomp.h CPP_SOURCE) 19set_module_type(drwtsn32 win32gui UNICODE) 20target_link_libraries(drwtsn32 udmihelp) 21add_importlibs(drwtsn32 dbghelp psapi advapi32 shell32 shlwapi msvcrt user32 kernel32 ntdll) 22add_cd_file(TARGET drwtsn32 DESTINATION reactos/system32 FOR all) 23