sfizz/tests/CMakeLists.txt

55 lines
1.3 KiB
Text
Raw Normal View History

2019-11-23 19:10:37 +01:00
###############################
# Test application
project(sfizz)
set(SFIZZ_TEST_SOURCES
RegionT.cpp
2020-08-10 17:22:49 +02:00
TestHelpers.h
TestHelpers.cpp
ParsingT.cpp
2019-11-23 19:10:37 +01:00
HelpersT.cpp
HelpersT.cpp
AudioBufferT.cpp
2019-12-28 23:01:45 +01:00
EGDescriptionT.cpp
2019-11-23 19:10:37 +01:00
RangeT.cpp
OpcodeT.cpp
BufferT.cpp
SIMDHelpersT.cpp
FilesT.cpp
2019-12-15 02:05:53 +01:00
MidiStateT.cpp
2020-05-28 23:33:48 +02:00
InterpolatorsT.cpp
SmoothersT.cpp
PolyphonyT.cpp
2019-11-23 19:10:37 +01:00
RegionActivationT.cpp
2019-11-30 14:50:57 +01:00
RegionValueComputationsT.cpp
# If we're tweaking the curves this kind of tests does not make sense
# Use integration tests with comparison curves
# ADSREnvelopeT.cpp
FlexEGT.cpp
EventEnvelopesT.cpp
2019-11-23 19:10:37 +01:00
MainT.cpp
SynthT.cpp
2020-03-15 02:09:40 +01:00
CurveT.cpp
2019-11-23 19:10:37 +01:00
RegionTriggersT.cpp
FloatHelpersT.cpp
2020-06-16 11:32:34 +02:00
RandomHelpersT.cpp
2020-02-13 21:42:03 +01:00
WavetablesT.cpp
2020-04-13 00:33:16 +02:00
SemaphoreT.cpp
SwapAndPopT.cpp
2020-05-19 14:51:33 +02:00
TuningT.cpp
2020-07-15 11:55:33 +02:00
ConcurrencyT.cpp
2020-07-26 19:25:59 +02:00
ModulationsT.cpp
LFOT.cpp
DataHelpers.h
DataHelpers.cpp
2019-11-23 19:10:37 +01:00
)
add_executable(sfizz_tests ${SFIZZ_TEST_SOURCES})
target_link_libraries(sfizz_tests PRIVATE sfizz::sfizz sfizz-jsl)
2020-01-19 09:51:43 +01:00
sfizz_enable_lto_if_needed(sfizz_tests)
sfizz_enable_fast_math(sfizz_tests)
2020-01-18 17:35:27 +01:00
# target_link_libraries(sfizz_tests PRIVATE absl::strings absl::str_format absl::flat_hash_map cnpy absl::span absl::algorithm)
2019-11-23 19:10:37 +01:00
2019-11-30 14:50:57 +01:00
file(COPY "." DESTINATION ${CMAKE_BINARY_DIR}/tests)