aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-04-05 20:34:52 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-04-05 20:34:52 +0200
commit6ba17a545f3a4df763aa75a31dd42275925e6cef (patch)
treee9fad7e304c408b498391779ca369197957cd466 /CMakeLists.txt
parentbfbbc743fb933409a3ead2af8c744b30c694dc86 (diff)
downloadsherlock.lv2-6ba17a545f3a4df763aa75a31dd42275925e6cef.tar.xz (sig)
redesign sherlock#atom_inspector.0.1.2
* show turtle instead of atom object genlist * fix detection of maximal amount of events
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5ede036..0e7abc6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -59,13 +59,19 @@ target_link_libraries(sherlock_ui
set_target_properties(sherlock_ui PROPERTIES PREFIX "")
install(TARGETS sherlock_ui DESTINATION ${DEST})
+find_package(FLEX)
+flex_target(encoder encoder.l ${PROJECT_BINARY_DIR}/encoder.c
+ COMPILE_FLAGS "--header-file=${PROJECT_BINARY_DIR}/encoder.h --prefix=enc")
+
add_library(sherlock_eo MODULE
sherlock_eo.c
atom_inspector_eo.c
midi_inspector_eo.c
- osc_inspector_eo.c)
+ osc_inspector_eo.c
+ ${FLEX_encoder_OUTPUTS})
target_link_libraries(sherlock_eo
- ${ELM_LDFLAGS})
+ ${ELM_LDFLAGS}
+ ${SRATOM_LDFLAGS})
set_target_properties(sherlock_eo PROPERTIES PREFIX "")
install(TARGETS sherlock_eo DESTINATION ${DEST})