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
|
|
|
|
usbccgp.c
|
|
|
|
usbccgp.h)
|
|
|
|
|
|
|
|
add_library(usbccgp SHARED
|
|
|
|
${SOURCE}
|
|
|
|
guid.c
|
|
|
|
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)
|
2014-02-09 17:28:01 +00:00
|
|
|
add_pch(usbccgp usbccgp.h SOURCE)
|
2012-01-26 03:42:56 +00:00
|
|
|
add_cd_file(TARGET usbccgp DESTINATION reactos/system32/drivers NO_CAB FOR all)
|