[CMAKE] Use modules instead of shared libraries
[reactos.git] / dll / win32 / sfc_os / CMakeLists.txt
1
2 spec2def(sfc_os.dll sfc_os.spec ADD_IMPORTLIB)
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 MODULE ${SOURCE})
10 set_module_type(sfc_os win32dll)
11 add_importlibs(sfc_os msvcrt kernel32 ntdll)
12 add_cd_file(TARGET sfc_os DESTINATION reactos/system32 FOR all)