mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 08:43:28 +00:00
2e3d2c189b
- leftover from r49358 svn path=/branches/cmake-bringup/; revision=49362
31 lines
715 B
CMake
31 lines
715 B
CMake
|
|
set_unicode()
|
|
|
|
add_definitions(-DNDEBUG=1)
|
|
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/include/reactos/libs/sound
|
|
${REACTOS_SOURCE_DIR}/drivers/wdm/audio/legacy/wdmaud
|
|
${REACTOS_SOURCE_DIR}/lib/drivers/sound/mmixer
|
|
${REACTOS_SOURCE_DIR}/lib/3rdparty/libsamplerate)
|
|
|
|
spec2def(wdmaud.drv wdmaud.spec)
|
|
|
|
add_library(wdmaud.drv SHARED
|
|
wdmaud.c
|
|
mixer.c
|
|
mmixer.c
|
|
legacy.c
|
|
wdmaud.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/wdmaud.def)
|
|
|
|
set_module_type(wdmaud.drv win32dll)
|
|
set_target_properties(wdmaud.drv PROPERTIES SUFFIX "")
|
|
|
|
target_link_libraries(wdmaud.drv
|
|
mmebuddy
|
|
libsamplerate
|
|
mmixer)
|
|
|
|
add_importlibs(wdmaud.drv user32 winmm advapi32 msvcrt setupapi ksuser kernel32 ntdll)
|
|
|