aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-02-18 23:54:40 -0800
committerChris Robinson <[email protected]>2018-02-18 23:56:51 -0800
commit1002bc36e04c79cf1e00d0d2e89558e45134bf86 (patch)
treebb08cb59f9abab257d7e8ba1c63c4533c68b819b /CMakeLists.txt
parent6ff50558a04c9d59f0f9bd45d4588095b95c8ec5 (diff)
Add an example for multi-zone reverb
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 17f561f2..d5c219f9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1525,6 +1525,15 @@ IF(ALSOFT_EXAMPLES)
PRIVATE ${LINKER_FLAGS} ${SDL_SOUND_LIBRARIES} ${SDL2_LIBRARY} ex-common common
OpenAL)
+ ADD_EXECUTABLE(almultireverb examples/almultireverb.c)
+ TARGET_COMPILE_DEFINITIONS(almultireverb PRIVATE ${CPP_DEFS})
+ TARGET_INCLUDE_DIRECTORIES(almultireverb
+ PRIVATE ${SDL2_INCLUDE_DIR} ${SDL_SOUND_INCLUDE_DIR})
+ TARGET_COMPILE_OPTIONS(almultireverb PRIVATE ${C_FLAGS})
+ TARGET_LINK_LIBRARIES(almultireverb
+ PRIVATE ${LINKER_FLAGS} ${SDL_SOUND_LIBRARIES} ${SDL2_LIBRARY} ex-common common
+ OpenAL ${MATH_LIB})
+
ADD_EXECUTABLE(allatency examples/allatency.c)
TARGET_COMPILE_DEFINITIONS(allatency PRIVATE ${CPP_DEFS})
TARGET_INCLUDE_DIRECTORIES(allatency