From 704da88113a15d4eafdeb3e33714531adcd249b0 Mon Sep 17 00:00:00 2001 From: Berkus Date: Tue, 4 Feb 2014 14:58:26 +0200 Subject: Build test programs. --- tests/CMakeLists.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tests/CMakeLists.txt (limited to 'tests') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt new file mode 100644 index 0000000..0fb028f --- /dev/null +++ b/tests/CMakeLists.txt @@ -0,0 +1,25 @@ +include_directories(..) +if (WIN32) + include_directories(../include) +endif (WIN32) + +add_executable(audioprobe audioprobe.cpp) +target_link_libraries(audioprobe rtaudio_static ${LINKLIBS}) + +add_executable(playsaw playsaw.cpp) +target_link_libraries(playsaw rtaudio_static ${LINKLIBS}) + +add_executable(playraw playraw.cpp) +target_link_libraries(playraw rtaudio_static ${LINKLIBS}) + +add_executable(record record.cpp) +target_link_libraries(record rtaudio_static ${LINKLIBS}) + +add_executable(duplex duplex.cpp) +target_link_libraries(duplex rtaudio_static ${LINKLIBS}) + +add_executable(testall testall.cpp) +target_link_libraries(testall rtaudio_static ${LINKLIBS}) + +add_executable(teststops teststops.cpp) +target_link_libraries(teststops rtaudio_static ${LINKLIBS}) -- cgit v1.2.3