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
17 lines
460 B
CMake
17 lines
460 B
CMake
|
|
spec2def(sfc ${CMAKE_CURRENT_SOURCE_DIR}/sfc.spec ${CMAKE_CURRENT_BINARY_DIR}/sfc.def)
|
|
|
|
list(APPEND SOURCE sfc.c)
|
|
|
|
add_library(sfc SHARED
|
|
${CMAKE_CURRENT_BINARY_DIR}/sfc_precomp.h.gch
|
|
${SOURCE})
|
|
|
|
set_module_type(sfc win32dll)
|
|
|
|
target_link_libraries(sfc ${CMAKE_CURRENT_BINARY_DIR}/sfc.def)
|
|
|
|
add_importlibs(sfc kernel32)
|
|
add_pch(sfc ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
|
add_dependencies(sfc sfc_def)
|
|
add_livecd_target(sfc reactos/system32)
|