summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBerkus <berkus@gmail.com>2014-02-04 14:58:26 +0200
committerBerkus <berkus@gmail.com>2014-02-04 14:58:26 +0200
commit704da88113a15d4eafdeb3e33714531adcd249b0 (patch)
treead0ea100f9dcf67d8ec198aefd9cf2223209fe16 /tests
parent184ac3fff27d3b9f137c64f2b1a35b6619580580 (diff)
Build test programs.
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt25
1 files changed, 25 insertions, 0 deletions
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})