1 2spec2def(sfc_os.dll sfc_os.spec ADD_IMPORTLIB) 3 4list(APPEND SOURCE 5 sfc_os.c 6 ${CMAKE_CURRENT_BINARY_DIR}/sfc_os_stubs.c 7 ${CMAKE_CURRENT_BINARY_DIR}/sfc_os.def) 8 9add_library(sfc_os MODULE ${SOURCE}) 10set_module_type(sfc_os win32dll) 11add_importlibs(sfc_os msvcrt kernel32 ntdll) 12add_cd_file(TARGET sfc_os DESTINATION reactos/system32 FOR all) 13