xref: /reactos/drivers/usb/usbccgp/CMakeLists.txt (revision 53221834)
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
16list(APPEND PCH_SKIP_SOURCE
17    guid.c)
18
19add_library(usbccgp MODULE
20    ${SOURCE}
21    ${PCH_SKIP_SOURCE}
22    usbccgp.rc)
23
24target_link_libraries(usbccgp ${PSEH_LIB})
25set_module_type(usbccgp kernelmodedriver)
26add_importlibs(usbccgp ntoskrnl hal usbd)
27add_pch(usbccgp usbccgp.h "${PCH_SKIP_SOURCE}")
28add_cd_file(TARGET usbccgp DESTINATION reactos/system32/drivers NO_CAB FOR all)
29