summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorgaryscavone <garyscavone@users.noreply.github.com>2014-04-10 20:00:32 -0400
committergaryscavone <garyscavone@users.noreply.github.com>2014-04-10 20:00:32 -0400
commit17613bf3d55a9424c4971b766db1edf6d2cc90bf (patch)
tree2300019061738286fab46b357966cb56f417f76f /tests
parent0843ca2ce796a18ca9e3af4fd8c6f920b0a71183 (diff)
parent704da88113a15d4eafdeb3e33714531adcd249b0 (diff)
Merge pull request #3 from berkus/master
Add CMake buildfile.
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})