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