1 2add_definitions(-D_DXAPI_) 3spec2def(dxapi.sys dxapi.spec) 4 5add_library(dxapi MODULE 6 main.c 7 dxapi.rc 8 ${CMAKE_CURRENT_BINARY_DIR}/dxapi.def) 9 10set_module_type(dxapi kernelmodedriver) 11add_importlibs(dxapi ntoskrnl hal videoprt) 12add_cd_file(TARGET dxapi DESTINATION reactos/system32/drivers FOR all) 13