2020-12-14 07:49:02 +01:00
|
|
|
if(SFIZZ_JACK)
|
|
|
|
|
add_executable(sfizz_jack MidiHelpers.h jack_client.cpp)
|
2021-02-01 23:12:29 +01:00
|
|
|
target_link_libraries(sfizz_jack PRIVATE sfizz::sfizz sfizz::jack sfizz::spin_mutex absl::flags_parse)
|
2020-12-14 07:49:02 +01:00
|
|
|
sfizz_enable_lto_if_needed(sfizz_jack)
|
|
|
|
|
install(TARGETS sfizz_jack DESTINATION ${CMAKE_INSTALL_BINDIR}
|
2020-05-03 06:59:51 +02:00
|
|
|
COMPONENT "jack" OPTIONAL)
|
|
|
|
|
endif()
|
2020-04-22 10:08:54 +02:00
|
|
|
|
2020-12-14 07:49:02 +01:00
|
|
|
if(SFIZZ_RENDER)
|
2020-07-05 16:42:06 +02:00
|
|
|
add_executable(sfizz_render MidiHelpers.h sfizz_render.cpp)
|
2020-12-14 12:54:16 +01:00
|
|
|
target_link_libraries(sfizz_render PRIVATE sfizz::internal sfizz::fmidi sfizz::sndfile sfizz::cxxopts)
|
2020-12-14 07:49:02 +01:00
|
|
|
sfizz_enable_lto_if_needed(sfizz_render)
|
|
|
|
|
install(TARGETS sfizz_render DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT "render" OPTIONAL)
|
2020-05-03 06:59:51 +02:00
|
|
|
endif()
|