2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
include_directories(
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound
|
2011-05-16 13:12:07 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/drivers/wdm/audio/legacy/wdmaud
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/sound/mmixer
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/3rdparty/libsamplerate)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
spec2def(wdmaud.drv wdmaud.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
wdmaud.c
|
|
|
|
mixer.c
|
|
|
|
mmixer.c
|
|
|
|
legacy.c
|
2014-02-10 12:19:56 +00:00
|
|
|
wdmaud.h)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(wdmaud.drv MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
wdmaud.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/wdmaud.def)
|
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(wdmaud.drv win32dll UNICODE)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_target_properties(wdmaud.drv PROPERTIES SUFFIX "")
|
2014-10-17 23:28:29 +00:00
|
|
|
target_link_libraries(wdmaud.drv mmebuddy libsamplerate mmixer)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_importlibs(wdmaud.drv user32 winmm advapi32 msvcrt setupapi ksuser kernel32 ntdll)
|
2015-11-14 16:19:07 +00:00
|
|
|
add_pch(wdmaud.drv wdmaud.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET wdmaud.drv DESTINATION reactos/system32 FOR all)
|