1 2spec2def(dxg.sys dxg.spec) 3 4list(APPEND SOURCE 5 main.c 6 ddhmg.c 7 d3d.c 8 dd.c 9 ddraw.c 10 ddsurf.c 11 eng.c 12 historic.c 13 dxg_int.h) 14 15include_directories( 16 ${REACTOS_SOURCE_DIR}/win32ss/include) 17 18add_library(dxg MODULE 19 ${SOURCE} 20 dxg.rc 21 ${CMAKE_CURRENT_BINARY_DIR}/dxg.def) 22 23set_module_type(dxg kernelmodedriver) 24add_importlibs(dxg dxgthk ntoskrnl) 25add_pch(dxg dxg_int.h SOURCE) 26add_cd_file(TARGET dxg DESTINATION reactos/system32/drivers FOR all) 27