xref: /reactos/drivers/usb/usbccgp/CMakeLists.txt (revision 7eead935)
1
2remove_definitions(-D_WIN32_WINNT=0x502)
3add_definitions(-D_WIN32_WINNT=0x600)
4
5add_definitions(-DDEBUG_MODE)
6include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
7
8list(APPEND SOURCE
9    descriptor.c
10    fdo.c
11    function.c
12    misc.c
13    pdo.c
14    usbccgp.c
15    usbccgp.h)
16
17add_library(usbccgp MODULE
18    ${SOURCE}
19    guid.c
20    usbccgp.rc)
21
22target_link_libraries(usbccgp ${PSEH_LIB})
23set_module_type(usbccgp kernelmodedriver)
24add_importlibs(usbccgp ntoskrnl hal usbd)
25add_pch(usbccgp usbccgp.h SOURCE)
26add_cd_file(TARGET usbccgp DESTINATION reactos/system32/drivers NO_CAB FOR all)
27