-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial Integration of RtAudio (#43)
- Loading branch information
Showing
11 changed files
with
490 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
if (MSVC) | ||
add_compile_options(/W1 /WX) | ||
add_link_options(/WX) | ||
include(SMTG_AddSubDirectories) | ||
smtg_add_subdirectories() | ||
elseif (UNIX AND !${ANDROID_BUILD}) | ||
add_compile_options(-Werror -Wextra) | ||
elseif(LINUX) | ||
find_program(GCOV_PATH gcov) | ||
if(NOT GCOV_PATH) | ||
message(${GCOV_PATH}) | ||
message("[WARNING] Code coverage analysis requires gcov!") | ||
else() | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage -O0") | ||
message("[MESSAGE] Code coverage analysis found gcov!") | ||
endif() | ||
include(SMTG_AddSubDirectories) | ||
smtg_add_subdirectories() | ||
endif() | ||
|
||
|
||
|
Oops, something went wrong.