1
2set_cpp()
3
4remove_definitions(-D_WIN32_WINNT=0x502)
5add_definitions(-D_WIN32_WINNT=0x600)
6
7list(APPEND SOURCE
8    hdaudbus.cpp
9    fdo.cpp
10    pdo.cpp
11    businterface.cpp)
12
13add_library(hdaudbus MODULE ${SOURCE})
14set_module_type(hdaudbus kernelmodedriver)
15target_link_libraries(hdaudbus libcntpr ${PSEH_LIB})
16add_importlibs(hdaudbus ntoskrnl hal)
17add_cd_file(TARGET hdaudbus DESTINATION reactos/system32/drivers FOR all)
18add_driver_inf(hdaudbus hdaudbus.inf)
19