Skip to content

Commit

Permalink
Merge pull request #7 from Quicr/sound
Browse files Browse the repository at this point in the history
Add sound command driver
  • Loading branch information
suhasHere committed Mar 22, 2022
2 parents 5f34739 + 94d6cd5 commit 40aa7fd
Show file tree
Hide file tree
Showing 3 changed files with 504 additions and 2 deletions.
14 changes: 14 additions & 0 deletions cmd/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
add_executable(forty forty-bytes.cc)
target_link_libraries( forty PUBLIC neoMedia)

find_package(portaudio QUIET)
if(portaudio_FOUND)
add_executable( sound sound.cc)
target_link_libraries( sound PUBLIC neoMedia)

if (WIN32)
target_link_libraries( sound PUBLIC portaudio)
else(WIN32)
target_link_libraries( sound PUBLIC portaudio_static)
endif(WIN32)
else(portaudio_FOUND)
message(STATUS "Skipping building sound as missing portaudio")
endif(portaudio_FOUND)
Loading

0 comments on commit 40aa7fd

Please sign in to comment.