1 2set_cpp() 3 4remove_definitions(-D_WIN32_WINNT=0x502) 5add_definitions(-D_WIN32_WINNT=0x600) 6 7list(APPEND SOURCE 8 usbaudio.c 9 pool.c 10 filter.c 11 pin.c 12 guid.c) 13 14add_library(usbaudio SHARED 15 ${SOURCE} 16 usbaudio.rc) 17 18target_link_libraries(usbaudio 19 libcntpr 20 ${PSEH_LIB}) 21 22set_module_type(usbaudio kernelmodedriver) 23add_importlibs(usbaudio ntoskrnl hal usbd ks) 24 25add_cd_file(TARGET usbaudio DESTINATION reactos/system32/drivers NO_CAB FOR all) 26