mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
907025a018
This takes care of adding the relvant include directory and the _ATL_NO_EXCEPTIONS define, if needed
21 lines
609 B
CMake
21 lines
609 B
CMake
|
|
PROJECT(drwtsn32)
|
|
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/udmihelp)
|
|
|
|
list(APPEND CPP_SOURCE
|
|
drwtsn32.cpp
|
|
main.cpp
|
|
stacktrace.cpp
|
|
sysinfo.cpp
|
|
drwtsn32.h
|
|
precomp.h)
|
|
|
|
add_executable(drwtsn32 ${CPP_SOURCE} drwtsn32.rc)
|
|
add_pch(drwtsn32 precomp.h CPP_SOURCE)
|
|
set_module_type(drwtsn32 win32gui UNICODE)
|
|
target_link_libraries(drwtsn32 udmihelp cppstl atl_classes)
|
|
set_target_cpp_properties(drwtsn32 WITH_EXCEPTIONS)
|
|
add_importlibs(drwtsn32 dbghelp psapi advapi32 shell32 shlwapi msvcrt user32 kernel32 ntdll)
|
|
add_cd_file(TARGET drwtsn32 DESTINATION reactos/system32 FOR all)
|