1 2spec2def(wmi.dll wmi.spec) 3 4list(APPEND SOURCE 5 wmi.rc 6 ${CMAKE_CURRENT_BINARY_DIR}/wmi.def) 7 8add_library(wmi MODULE ${SOURCE}) 9set_module_type(wmi win32dll ENTRYPOINT 0 ) 10add_importlibs(wmi advapi32) 11add_dependencies(wmi psdk) 12add_cd_file(TARGET wmi DESTINATION reactos/system32 FOR all) 13