aboutsummaryrefslogtreecommitdiff
path: root/bundle/CMakeLists.txt
blob: d2038246412dc9d2fa251370b366e2ff296fbf6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${CMAKE_SOURCE_DIR}/system_port.lv2)

if(WIN32)
	set(LIB_EXT ".dll")
elseif(APPLE)
	set(LIB_EXT ".so")
else()
	set(LIB_EXT ".so")
endif()

# synthpod
add_library(synthpod_bundle.lv2 MODULE
	synthpod_bundle.c
	synthpod_sink.c
	synthpod_source.c
	synthpod_osc_sink.c
	synthpod_osc_source.c
	synthpod_cv_sink.c
	synthpod_cv_source.c
	synthpod_audio_sink.c
	synthpod_audio_source.c
	synthpod_midi_sink.c
	synthpod_midi_source.c)
set_target_properties(synthpod_bundle.lv2 PROPERTIES PREFIX "" OUTPUT_NAME "synthpod_bundle")
install(TARGETS synthpod_bundle.lv2 DESTINATION ${SYNTHPOD_BUNDLE_DIR})
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/synthpod_bundle.ttl DESTINATION ${SYNTHPOD_BUNDLE_DIR})

# manifest
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/manifest.ttl.in ${PROJECT_BINARY_DIR}/bundle/manifest.ttl)
install(FILES ${PROJECT_BINARY_DIR}/bundle/manifest.ttl DESTINATION ${SYNTHPOD_BUNDLE_DIR})