* Sync with recent trunk (r52637).
[reactos.git] / base / applications / shutdown / CMakeLists.txt
index f72303e..0876577 100644 (file)
@@ -1,15 +1,12 @@
 
-add_definitions(-D_DLL -D__USE_CRTIMP)
-
 list(APPEND SOURCE
     misc.c
     shutdown.c
     shutdown.rc)
 
-add_executable(shutdown ${CMAKE_CURRENT_BINARY_DIR}/shutdown_precomp.h.gch ${SOURCE})
-
-add_pch(shutdown ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
+add_executable(shutdown ${SOURCE})
 
 set_module_type(shutdown win32cui)
 add_importlibs(shutdown advapi32 user32 msvcrt kernel32)
-add_cab_target(shutdown 1)
+add_pch(shutdown precomp.h)
+add_cd_file(TARGET shutdown DESTINATION reactos/system32 FOR all)