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