mirror of
https://github.com/reactos/reactos.git
synced 2024-09-19 17:21:14 +00:00
91f3191275
- refactor a bit add_cd_file for more flexibility. Add FOR argument for specifying target cd images. svn path=/branches/cmake-bringup/; revision=51749
31 lines
562 B
CMake
31 lines
562 B
CMake
|
|
set_unicode()
|
|
set_rc_compiler()
|
|
|
|
spec2def(slayer.dll slayer.spec)
|
|
|
|
list(APPEND SOURCE
|
|
slayer.c
|
|
slayer.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/slayer.def)
|
|
|
|
add_library(slayer SHARED ${CMAKE_CURRENT_BINARY_DIR}/slayer_precomp.h.gch ${SOURCE})
|
|
|
|
set_module_type(slayer win32dll)
|
|
|
|
target_link_libraries(slayer uuid)
|
|
|
|
add_importlibs(slayer
|
|
user32
|
|
comctl32
|
|
advapi32
|
|
ole32
|
|
shell32
|
|
msvcrt
|
|
kernel32
|
|
ntdll)
|
|
|
|
add_pch(slayer ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
|
|
|
add_cd_file(TARGET slayer DESTINATION reactos/system32 FOR all)
|