diff options
author | JP Cimalando <jpcima@users.noreply.github.com> | 2018-07-24 04:55:55 +0200 |
---|---|---|
committer | JP Cimalando <jpcima@users.noreply.github.com> | 2018-07-24 04:55:55 +0200 |
commit | 86b97d103fdeab8d285189d96ec6b316ec8c3530 (patch) | |
tree | bf14b0d9d4c7cbf9483443516d1cbf193916d8cf /test/conversion/CMakeLists.txt | |
parent | 9544965f28ce42b69f97e6aaeb881c9a20bfbad4 (diff) | |
download | libADLMIDI-86b97d103fdeab8d285189d96ec6b316ec8c3530.tar.gz libADLMIDI-86b97d103fdeab8d285189d96ec6b316ec8c3530.tar.bz2 libADLMIDI-86b97d103fdeab8d285189d96ec6b316ec8c3530.zip |
add unit test to check internal instrument conversions
Diffstat (limited to 'test/conversion/CMakeLists.txt')
-rw-r--r-- | test/conversion/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/conversion/CMakeLists.txt b/test/conversion/CMakeLists.txt new file mode 100644 index 0000000..361c7e8 --- /dev/null +++ b/test/conversion/CMakeLists.txt @@ -0,0 +1,12 @@ + +set(CMAKE_CXX_STANDARD 11) + +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR}/../common + ${CMAKE_SOURCE_DIR}/include + ${CMAKE_SOURCE_DIR}/src) + +add_executable(ConversionTest conversion.cpp $<TARGET_OBJECTS:Catch-objects>) + +set_target_properties(ConversionTest PROPERTIES COMPILE_DEFINITIONS "GSL_THROW_ON_CONTRACT_VIOLATION") +add_test(NAME ConversionTest COMMAND ConversionTest) |