[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 list(APPEND SOURCE
15 wdmaud.c
16 mixer.c
17 mmixer.c
18 legacy.c
19 wdmaud.rc
20 ${CMAKE_CURRENT_BINARY_DIR}/wdmaud.def)
21
22 add_library(wdmaud.drv SHARED ${SOURCE})
23
24 set_module_type(wdmaud.drv win32dll)
25
26 set_target_properties(wdmaud.drv PROPERTIES SUFFIX "")
27
28 target_link_libraries(wdmaud.drv
29 mmebuddy
30 libsamplerate
31 mmixer)
32
33 add_importlibs(wdmaud.drv user32 winmm advapi32 msvcrt setupapi ksuser kernel32 ntdll)
34 add_cd_file(TARGET wdmaud.drv DESTINATION reactos/system32)