projects
/
rtaudio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WASAPI : Ring buffer in/out index fix
[rtaudio.git]
/
tests
/
CMakeLists.txt
diff --git
a/tests/CMakeLists.txt
b/tests/CMakeLists.txt
index 0fb028fc1876da00c1d1629a04fbf3e87fb577b0..5847027bcdbbe605f0c4fd2e830355cd2d3a406d 100644
(file)
--- a/
tests/CMakeLists.txt
+++ b/
tests/CMakeLists.txt
@@
-3,23
+3,28
@@
if (WIN32)
include_directories(../include)
endif (WIN32)
include_directories(../include)
endif (WIN32)
+list(GET LIB_TARGETS 0 LIBRTAUDIO)
+
add_executable(audioprobe audioprobe.cpp)
add_executable(audioprobe audioprobe.cpp)
-target_link_libraries(audioprobe
rtaudio_static
${LINKLIBS})
+target_link_libraries(audioprobe
${LIBRTAUDIO}
${LINKLIBS})
add_executable(playsaw playsaw.cpp)
add_executable(playsaw playsaw.cpp)
-target_link_libraries(playsaw
rtaudio_static
${LINKLIBS})
+target_link_libraries(playsaw
${LIBRTAUDIO}
${LINKLIBS})
add_executable(playraw playraw.cpp)
add_executable(playraw playraw.cpp)
-target_link_libraries(playraw
rtaudio_static
${LINKLIBS})
+target_link_libraries(playraw
${LIBRTAUDIO}
${LINKLIBS})
add_executable(record record.cpp)
add_executable(record record.cpp)
-target_link_libraries(record
rtaudio_static
${LINKLIBS})
+target_link_libraries(record
${LIBRTAUDIO}
${LINKLIBS})
add_executable(duplex duplex.cpp)
add_executable(duplex duplex.cpp)
-target_link_libraries(duplex rtaudio_static ${LINKLIBS})
+target_link_libraries(duplex ${LIBRTAUDIO} ${LINKLIBS})
+
+add_executable(apinames apinames.cpp)
+target_link_libraries(apinames ${LIBRTAUDIO} ${LINKLIBS})
add_executable(testall testall.cpp)
add_executable(testall testall.cpp)
-target_link_libraries(testall
rtaudio_static
${LINKLIBS})
+target_link_libraries(testall
${LIBRTAUDIO}
${LINKLIBS})
add_executable(teststops teststops.cpp)
add_executable(teststops teststops.cpp)
-target_link_libraries(teststops
rtaudio_static
${LINKLIBS})
+target_link_libraries(teststops
${LIBRTAUDIO}
${LINKLIBS})