mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-30 16:01:51 +00:00
de68492710
forces a static build and sets up test env
15 lines
259 B
CMake
15 lines
259 B
CMake
|
|
project(fluidsynth-test)
|
|
|
|
ENABLE_TESTING()
|
|
include ( FluidUnitTest )
|
|
|
|
## add unit tests here ##
|
|
ADD_FLUID_TEST(test_sample_cache)
|
|
|
|
|
|
add_custom_target(check
|
|
COMMAND ${CMAKE_CTEST_COMMAND} -C $<CONFIG> --verbose --output-on-failure
|
|
DEPENDS
|
|
test_sample_cache
|
|
)
|