c4ca65084c56d9dafa6f907a81991b432cd6f626
[reactos.git] / dll / win32 / sfc / CMakeLists.txt
1
2 spec2def(sfc ${CMAKE_CURRENT_SOURCE_DIR}/sfc.spec ${CMAKE_CURRENT_BINARY_DIR}/sfc.def)
3
4 list(APPEND SOURCE sfc.c)
5
6 add_library(sfc SHARED
7 ${CMAKE_CURRENT_BINARY_DIR}/sfc_precomp.h.gch
8 ${SOURCE})
9
10 set_module_type(sfc win32dll)
11
12 target_link_libraries(sfc ${CMAKE_CURRENT_BINARY_DIR}/sfc.def)
13
14 add_importlibs(sfc kernel32)
15 add_pch(sfc ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
16 add_dependencies(sfc sfc_def)
17 add_livecd_target(sfc reactos/system32)