reactos/base/applications/shutdown/CMakeLists.txt
Sylvain Petreolle 8456a5473e [CMAKE]
Revert incorrect auto import change and use proper definitions instead.

svn path=/branches/cmake-bringup/; revision=49476
2010-11-05 09:38:42 +00:00

15 lines
376 B
CMake

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})
set_module_type(shutdown win32cui)
add_importlibs(shutdown advapi32 user32 msvcrt kernel32)
add_cab_target(shutdown 1)