[CMAKE]
[reactos.git] / dll / win32 / wdmaud.drv / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(-DNDEBUG=1)
5
6 include_directories(
7 ${REACTOS_SOURCE_DIR}/include/reactos/libs/sound
8 ${REACTOS_SOURCE_DIR}/drivers/wdm/audio/legacy/wdmaud
9 ${REACTOS_SOURCE_DIR}/lib/drivers/sound/mmixer
10 ${REACTOS_SOURCE_DIR}/lib/3rdparty/libsamplerate)
11
12 spec2def(wdmaud.drv wdmaud.spec)
13
14 add_library(wdmaud.drv SHARED
15 wdmaud.c
16 mixer.c
17 mmixer.c
18 legacy.c
19 wdmaud.rc
20 ${CMAKE_CURRENT_BINARY_DIR}/wdmaud.def)
21
22 set_module_type(wdmaud.drv win32dll)
23 set_target_properties(wdmaud.drv PROPERTIES SUFFIX "")
24
25 target_link_libraries(wdmaud.drv
26 mmebuddy
27 libsamplerate
28 mmixer)
29
30 add_importlibs(wdmaud.drv user32 winmm advapi32 msvcrt setupapi ksuser kernel32 ntdll)
31