diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-08 13:48:01 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-08 13:48:01 +0200 |
commit | 6b7a670d60fec808e4fd1fcf3a8df2c503dcbdf4 (patch) | |
tree | aeb947a0001088ae2caddca85062845a276ceffb /src/CMakeLists.txt | |
parent | c6cbde11c080c994577a7ebe4b966c25870dec1f (diff) | |
parent | 515aab5ab7e3281d2d77177724aae42cffc6faae (diff) |
Merge branch 'loek/cleanup' of github.com:lonkaars/crepe
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 232d330..62ca9a0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -9,10 +9,12 @@ set(CMAKE_BUILD_TYPE Debug) add_compile_definitions(DEBUG) add_subdirectory(../lib/soloud soloud) +add_subdirectory(../lib/googletest googletest) project(crepe C CXX) add_library(crepe SHARED) +add_executable(test_main EXCLUDE_FROM_ALL) target_include_directories(crepe PUBLIC SYSTEM INTERFACE . @@ -24,13 +26,16 @@ target_link_libraries(crepe ) add_subdirectory(crepe) +add_subdirectory(test) +add_subdirectory(example) install( TARGETS crepe FILE_SET HEADERS DESTINATION include/crepe ) - -add_executable(dummy_audio dummy_audio.cpp) -target_link_libraries(dummy_audio PUBLIC crepe) +target_link_libraries(test_main + PRIVATE gtest_main + PUBLIC crepe +) |