diff options
author | Chris Robinson <[email protected]> | 2015-10-28 18:52:49 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-10-28 18:52:49 -0700 |
commit | f4a53cf6096adb63701ea36cecf941a2eaeb0ff2 (patch) | |
tree | fb877f90b6ef7c48dc52142fd50bbd4982ac8e75 /CMakeLists.txt | |
parent | bd73cdab0df049ece41f20ff6a83465b0bfb4e0a (diff) |
Add an HRTF example
Doubles as a psuedo-test to play a sound with HRTF.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index db918de0..bd73876c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1233,6 +1233,11 @@ IF(ALSOFT_EXAMPLES) SET_PROPERTY(TARGET alloopback APPEND PROPERTY INCLUDE_DIRECTORIES ${SDL2_INCLUDE_DIR} ${SDL_SOUND_INCLUDE_DIR}) + ADD_EXECUTABLE(alhrtf examples/alhrtf.c) + TARGET_LINK_LIBRARIES(alhrtf ex-common ${SDL_SOUND_LIBRARIES} ${SDL2_LIBRARY} ${LIBNAME}) + SET_PROPERTY(TARGET alhrtf APPEND PROPERTY INCLUDE_DIRECTORIES ${SDL2_INCLUDE_DIR} + ${SDL_SOUND_INCLUDE_DIR}) + IF(ALSOFT_INSTALL) INSTALL(TARGETS alstream alreverb allatency alloopback RUNTIME DESTINATION bin |