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