X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=base%2Fapplications%2Fshutdown%2FCMakeLists.txt;h=08765772e6f4d008f0c99c3dc55c6c60beb4b085;hp=f72303ebbbb18bea39cde05ff1ec0836cce30d94;hb=9fa710c8135d9c18cd6e828bc696b4a3a8b95f9d;hpb=7c84d922e5cdfcbd4ef8345a06465b658b6b8158 diff --git a/base/applications/shutdown/CMakeLists.txt b/base/applications/shutdown/CMakeLists.txt index f72303ebbbb..08765772e6f 100644 --- a/base/applications/shutdown/CMakeLists.txt +++ b/base/applications/shutdown/CMakeLists.txt @@ -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)