zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 24483dc55426ca4617c236df736081ea2a4474a1
parent 562e73a947c31b0f4c4dd38cd59cb16b89104eb8
Author: fundamental <mark.d.mccurry@gmail.com>
Date:   Sat,  8 May 2021 19:47:04 -0400

Build SaveOsc only on non-windows

Apparently it works with only _some_ versions of mingw.

Diffstat:
Msrc/Tests/CMakeLists.txt | 17+++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/Tests/CMakeLists.txt b/src/Tests/CMakeLists.txt @@ -62,13 +62,14 @@ if(NOT (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")) cp_script(check-ports.rb) add_test(PortChecker check-ports.rb) endif() + add_executable(save-osc SaveOSC.cpp) + target_link_libraries(save-osc + zynaddsubfx_core zynaddsubfx_nio + zynaddsubfx_gui_bridge + ${GUI_LIBRARIES} ${NIO_LIBRARIES} ${AUDIO_LIBRARIES} + ${PLATFORM_LIBRARIES}) + #this will be replaced with a for loop when the code will get more stable: + add_test(SaveOsc save-osc ${CMAKE_CURRENT_SOURCE_DIR}/../../instruments/examples/Arpeggio\ 1.xmz) + endif() -add_executable(save-osc SaveOSC.cpp) -target_link_libraries(save-osc - zynaddsubfx_core zynaddsubfx_nio - zynaddsubfx_gui_bridge - ${GUI_LIBRARIES} ${NIO_LIBRARIES} ${AUDIO_LIBRARIES} - ${PLATFORM_LIBRARIES}) -#this will be replaced with a for loop when the code will get more stable: -add_test(SaveOsc save-osc ${CMAKE_CURRENT_SOURCE_DIR}/../../instruments/examples/Arpeggio\ 1.xmz)