[CMAKE]
[reactos.git] / base / applications / shutdown / CMakeLists.txt
1
2 add_definitions(-D_DLL -D__USE_CRTIMP)
3
4 list(APPEND SOURCE
5 misc.c
6 shutdown.c
7 shutdown.rc)
8
9 add_executable(shutdown ${CMAKE_CURRENT_BINARY_DIR}/shutdown_precomp.h.gch ${SOURCE})
10
11 add_pch(shutdown ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
12
13 set_module_type(shutdown win32cui)
14 add_importlibs(shutdown advapi32 user32 msvcrt kernel32)
15 add_cd_file(TARGET shutdown DESTINATION reactos/system32 FOR all)