From f3dddb6e6342141ea7b2c9fc0790a86e6e97fc3f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 31 Oct 2012 04:04:49 -0700 Subject: Add an example program showing how to apply reverb to a source --- CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 146bc572..bcb1fa10 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -827,7 +827,14 @@ IF(EXAMPLES) examples/alstream.c) TARGET_LINK_LIBRARIES(alstream ${FFMPEG_LIBRARIES} ${LIBNAME}) SET_TARGET_PROPERTIES(alstream PROPERTIES COMPILE_FLAGS "${FFMPEG_CFLAGS}") - INSTALL(TARGETS alstream + + ADD_EXECUTABLE(alreverb examples/common/alhelpers.c + examples/common/alffmpeg.c + examples/alreverb.c) + TARGET_LINK_LIBRARIES(alreverb ${FFMPEG_LIBRARIES} ${LIBNAME}) + SET_TARGET_PROPERTIES(alreverb PROPERTIES COMPILE_FLAGS "${FFMPEG_CFLAGS}") + + INSTALL(TARGETS alstream alreverb RUNTIME DESTINATION bin LIBRARY DESTINATION "lib${LIB_SUFFIX}" ARCHIVE DESTINATION "lib${LIB_SUFFIX}" -- cgit v1.2.3