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