reactos/dll/shellext/slayer/CMakeLists.txt
Jérôme Gardou fd5ef6b1c1 [CMAKE]
- add macros add_cab and add_cab_target to add files to reactos.dff
  - add bootcd target
  - make use of these macros to create bootcd and livecd
Bootcd works and install things, but 2nd stage fails booting. We need debug symbols!!!

svn path=/branches/cmake-bringup/; revision=49347
2010-10-30 09:53:53 +00:00

26 lines
580 B
CMake

set_unicode()
spec2def(slayer ${CMAKE_CURRENT_SOURCE_DIR}/slayer.spec ${CMAKE_CURRENT_BINARY_DIR}/slayer.def)
list(APPEND SOURCE slayer.c slayer.rc)
add_library(slayer SHARED ${CMAKE_CURRENT_BINARY_DIR}/slayer_precomp.h.gch ${SOURCE})
set_module_type(slayer win32dll)
target_link_libraries(slayer ${CMAKE_CURRENT_BINARY_DIR}/slayer.def uuid)
add_importlibs(slayer
user32
comctl32
advapi32
ole32
shell32
kernel32
ntdll)
add_pch(slayer ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
add_dependencies(slayer slayer_def)
add_cab_target(slayer 1)