aboutsummaryrefslogtreecommitdiff
path: root/test/wopl-file/CMakeLists.txt
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2018-09-25 19:26:21 +0300
committerWohlstand <admin@wohlnet.ru>2018-09-25 19:26:21 +0300
commitbb0d23251324fadd49cbf53c1673b80ef07ffeff (patch)
tree57a9a9b754f40877add55bde772d06791f5727e1 /test/wopl-file/CMakeLists.txt
parent36f58b5c73766e4173b1cb04168909fdbcf9a5bf (diff)
parent923ea2f4d2c26248d518c9af7cafb938cd5ee9d6 (diff)
downloadlibADLMIDI-bb0d23251324fadd49cbf53c1673b80ef07ffeff.tar.gz
libADLMIDI-bb0d23251324fadd49cbf53c1673b80ef07ffeff.tar.bz2
libADLMIDI-bb0d23251324fadd49cbf53c1673b80ef07ffeff.zip
Merge branch 'master' into stable
Diffstat (limited to 'test/wopl-file/CMakeLists.txt')
-rw-r--r--test/wopl-file/CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/wopl-file/CMakeLists.txt b/test/wopl-file/CMakeLists.txt
new file mode 100644
index 0000000..082f1fe
--- /dev/null
+++ b/test/wopl-file/CMakeLists.txt
@@ -0,0 +1,15 @@
+
+set(CMAKE_CXX_STANDARD 11)
+
+include_directories (${CMAKE_CURRENT_SOURCE_DIR}/../common
+ ${CMAKE_SOURCE_DIR}/include
+ ${CMAKE_SOURCE_DIR}/src)
+
+add_executable(WoplFile
+ wopl_file.cpp
+ ${libADLMIDI_SOURCE_DIR}/src/wopl/wopl_file.c
+ $<TARGET_OBJECTS:Catch-objects>)
+
+set_target_properties(WoplFile PROPERTIES COMPILE_DEFINITIONS "GSL_THROW_ON_CONTRACT_VIOLATION")
+add_test(NAME WoplFileTest COMMAND WoplFile)
+