2014-10-17 23:28:29 +00:00
|
|
|
|
2012-01-26 13:45:59 +00:00
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
2012-01-26 03:42:56 +00:00
|
|
|
add_definitions(-DDEBUG_MODE)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
|
|
|
|
|
2014-02-09 17:28:01 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
descriptor.c
|
|
|
|
fdo.c
|
|
|
|
function.c
|
|
|
|
misc.c
|
|
|
|
pdo.c
|
2020-05-09 21:37:40 +00:00
|
|
|
usbccgp.c)
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
guid.c)
|
2014-02-09 17:28:01 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(usbccgp MODULE
|
2014-02-09 17:28:01 +00:00
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2014-02-09 17:28:01 +00:00
|
|
|
usbccgp.rc)
|
2012-01-26 03:42:56 +00:00
|
|
|
|
|
|
|
target_link_libraries(usbccgp ${PSEH_LIB})
|
|
|
|
set_module_type(usbccgp kernelmodedriver)
|
|
|
|
add_importlibs(usbccgp ntoskrnl hal usbd)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(usbccgp usbccgp.h "${PCH_SKIP_SOURCE}")
|
2012-01-26 03:42:56 +00:00
|
|
|
add_cd_file(TARGET usbccgp DESTINATION reactos/system32/drivers NO_CAB FOR all)
|