1 2spec2def(hidparse.sys hidparse.spec ADD_IMPORTLIB) 3add_definitions(-DDEBUG_MODE) 4 5include_directories( 6 ${REACTOS_SOURCE_DIR}/ntoskrnl/include 7 ${REACTOS_SOURCE_DIR}/sdk/lib/drivers/hidparser) 8 9 10add_library(hidparse MODULE hidparse.c hidparse.rc ${CMAKE_CURRENT_BINARY_DIR}/hidparse.def) 11set_module_type(hidparse kernelmodedriver) 12add_importlibs(hidparse ntoskrnl) 13target_link_libraries(hidparse hidparser_km) 14add_cd_file(TARGET hidparse DESTINATION reactos/system32/drivers NO_CAB FOR all) 15