mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
89271fe38d
Add each win32dll module to livecd and remove global temporary add-on from gcc.cmake. Fix pch use in fmifs. Enable remaining dlls in dll/win32/CMakeLists.txt. svn path=/branches/cmake-bringup/; revision=49230
25 lines
598 B
CMake
25 lines
598 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_livecd_target(slayer reactos/system32)
|