* Sync the recent cmake branch changes.
[reactos.git] / dll / win32 / sfc_os / CMakeLists.txt
1
2 spec2def(sfc_os.dll sfc_os.spec)
3
4 list(APPEND SOURCE
5 sfc_os.c
6 ${CMAKE_CURRENT_BINARY_DIR}/sfc_os_stubs.c
7 ${CMAKE_CURRENT_BINARY_DIR}/sfc_os.def)
8
9 add_library(sfc_os SHARED
10 ${CMAKE_CURRENT_BINARY_DIR}/sfc_os_precomp.h.gch
11 ${SOURCE})
12
13 set_module_type(sfc_os win32dll)
14
15 add_importlibs(sfc_os msvcrt kernel32 ntdll)
16 add_pch(sfc_os ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
17
18 add_cd_file(TARGET sfc_os DESTINATION reactos/system32 FOR all)