diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7828ada..5f1167f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,6 +58,21 @@ if(DEMO_BUILD_TESTS) src ) add_test(NAME SynthEngineTest COMMAND test_synth) + + add_executable(test_spectool + src/tests/test_spectool.cpp + src/audio/audio.cpp # For miniaudio implementation + src/audio/window.cpp + src/audio/fdct.cpp + src/audio/synth.cpp + src/audio/idct.cpp + ) + target_include_directories(test_spectool PRIVATE + src + third_party + ) + add_dependencies(test_spectool spectool) + add_test(NAME SpectoolEndToEndTest COMMAND test_spectool) endif() option(DEMO_BUILD_TOOLS "Build tools" OFF) |
