fluidsynth/test/CMakeLists.txt
derselbst de68492710 add cmake option enable-tests
forces a static build and sets up test env
2018-04-07 10:45:44 +02:00

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
)