reactos/dll/win32/sfc/CMakeLists.txt
Sylvain Petreolle 89271fe38d [CMAKE]
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
2010-10-22 19:40:56 +00:00

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)