aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-06-16 16:10:21 -0700
committerChris Robinson <[email protected]>2013-06-16 16:10:21 -0700
commitff44ebfd5baca42bf2516c620af3216c88dffd39 (patch)
tree9fb7e087a0a34da19cf9c3a8925541682ef30ecb /CMakeLists.txt
parenta5471ce0a47f1995b2c81c9cda3d628a0546ab62 (diff)
Add a loopback extension example
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 07aa66d7..4efd396c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -882,7 +882,12 @@ IF(ALSOFT_EXAMPLES)
TARGET_LINK_LIBRARIES(allatency ex-common ${SDL_SOUND_LIBRARIES} ${LIBNAME})
SET_TARGET_PROPERTIES(allatency PROPERTIES INCLUDE_DIRECTORIES "${SDL_SOUND_INCLUDE_DIR}")
- INSTALL(TARGETS alstream alreverb allatency
+ ADD_EXECUTABLE(alloopback examples/alloopback.c)
+ TARGET_LINK_LIBRARIES(alloopback ex-common ${SDL_SOUND_LIBRARIES} ${SDL_LIBRARIES} ${LIBNAME})
+ SET_TARGET_PROPERTIES(alloopback PROPERTIES INCLUDE_DIRECTORIES "${SDL_INCLUDE_DIR}"
+ INCLUDE_DIRECTORIES "${SDL_SOUND_INCLUDE_DIR}")
+
+ INSTALL(TARGETS alstream alreverb allatency alloopback
RUNTIME DESTINATION bin
LIBRARY DESTINATION "lib${LIB_SUFFIX}"
ARCHIVE DESTINATION "lib${LIB_SUFFIX}"