1c2c66affSColin Finck 2c2c66affSColin Finckinclude_directories( 3c2c66affSColin Finck ${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound 4c2c66affSColin Finck ${REACTOS_SOURCE_DIR}/drivers/wdm/audio/legacy/wdmaud 5c2c66affSColin Finck ${REACTOS_SOURCE_DIR}/sdk/lib/drivers/sound/mmixer 6c2c66affSColin Finck ${REACTOS_SOURCE_DIR}/sdk/lib/3rdparty/libsamplerate) 7c2c66affSColin Finck 8c2c66affSColin Finckspec2def(wdmaud.drv wdmaud.spec) 9c2c66affSColin Finck 10c2c66affSColin Fincklist(APPEND SOURCE 11c2c66affSColin Finck wdmaud.c 12c2c66affSColin Finck mixer.c 13c2c66affSColin Finck mmixer.c 14c2c66affSColin Finck legacy.c 15c2c66affSColin Finck wdmaud.h) 16c2c66affSColin Finck 17*23373acbSJérôme Gardouadd_library(wdmaud.drv MODULE 18c2c66affSColin Finck ${SOURCE} 19c2c66affSColin Finck wdmaud.rc 20c2c66affSColin Finck ${CMAKE_CURRENT_BINARY_DIR}/wdmaud.def) 21c2c66affSColin Finck 22c2c66affSColin Finckset_module_type(wdmaud.drv win32dll UNICODE) 23c2c66affSColin Finckset_target_properties(wdmaud.drv PROPERTIES SUFFIX "") 24c2c66affSColin Fincktarget_link_libraries(wdmaud.drv mmebuddy libsamplerate mmixer) 25c2c66affSColin Finckadd_importlibs(wdmaud.drv user32 winmm advapi32 msvcrt setupapi ksuser kernel32 ntdll) 26c2c66affSColin Finckadd_pch(wdmaud.drv wdmaud.h SOURCE) 27c2c66affSColin Finckadd_cd_file(TARGET wdmaud.drv DESTINATION reactos/system32 FOR all) 28