1 2spec2def(wmilib.sys wmilib.spec ADD_IMPORTLIB) 3 4list(APPEND SOURCE 5 wmilib.c 6 wmilib.rc 7 ${CMAKE_CURRENT_BINARY_DIR}/wmilib.def) 8 9add_library(wmilib MODULE ${SOURCE}) 10set_module_type(wmilib kernelmodedriver ENTRYPOINT 0) 11add_importlibs(wmilib ntoskrnl) 12add_cd_file(TARGET wmilib DESTINATION reactos/system32/drivers NO_CAB FOR all) 13