mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 16:48:16 +00:00
c2d0d784c7
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems! svn path=/branches/usb-bringup-trunk/; revision=55018
34 lines
837 B
CMake
34 lines
837 B
CMake
|
|
|
|
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)
|
|
|
|
list(APPEND SOURCE
|
|
wdmaud.c
|
|
mixer.c
|
|
mmixer.c
|
|
legacy.c
|
|
wdmaud.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/wdmaud.def)
|
|
|
|
add_library(wdmaud.drv SHARED ${SOURCE})
|
|
|
|
set_module_type(wdmaud.drv win32dll UNICODE)
|
|
|
|
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)
|
|
add_pch(wdmaud.drv wdmaud.h)
|
|
add_cd_file(TARGET wdmaud.drv DESTINATION reactos/system32 FOR all)
|