reactos/sdk/lib/drivers/sound/mmebuddy/CMakeLists.txt
Serge Gautherie c7a4984595
[MMEBUDDY][MMIXER] Fix NDEBUG support (#7039)
- Remove unwanted value.
- Use add_compile_definitions().
- NDEBUG "depends" on DBG.
2024-07-20 12:05:56 +02:00

34 lines
649 B
CMake

add_definitions(
-DUNICODE -D_UNICODE)
if(DBG)
add_compile_definitions(NDEBUG)
endif()
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound)
list(APPEND SOURCE
capabilities.c
devicelist.c
deviceinstance.c
functiontable.c
mmewrap.c
reentrancy.c
utility.c
kernel.c
thread.c
auxiliary/auxMessage.c
midi/midMessage.c
midi/modMessage.c
mixer/mxdMessage.c
wave/widMessage.c
wave/wodMessage.c
wave/format.c
wave/header.c
wave/streaming.c
precomp.h)
add_library(mmebuddy ${SOURCE})
add_pch(mmebuddy precomp.h SOURCE)
add_dependencies(mmebuddy psdk)