[NTOS:KD] Use Zw* syscall variants
[reactos.git] / dll / win32 / wdmaud.drv / CMakeLists.txt
1
2 include_directories(
3 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound
4 ${REACTOS_SOURCE_DIR}/drivers/wdm/audio/legacy/wdmaud
5 ${REACTOS_SOURCE_DIR}/sdk/lib/drivers/sound/mmixer
6 ${REACTOS_SOURCE_DIR}/sdk/lib/3rdparty/libsamplerate)
7
8 spec2def(wdmaud.drv wdmaud.spec)
9
10 list(APPEND SOURCE
11 wdmaud.c
12 mixer.c
13 mmixer.c
14 legacy.c
15 wdmaud.h)
16
17 add_library(wdmaud.drv MODULE
18 ${SOURCE}
19 wdmaud.rc
20 ${CMAKE_CURRENT_BINARY_DIR}/wdmaud.def)
21
22 set_module_type(wdmaud.drv win32dll UNICODE)
23 set_target_properties(wdmaud.drv PROPERTIES SUFFIX "")
24 target_link_libraries(wdmaud.drv mmebuddy libsamplerate mmixer)
25 add_importlibs(wdmaud.drv user32 winmm advapi32 msvcrt setupapi ksuser kernel32 ntdll)
26 add_pch(wdmaud.drv wdmaud.h SOURCE)
27 add_cd_file(TARGET wdmaud.drv DESTINATION reactos/system32 FOR all)