aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-12-03 23:01:19 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-12-03 23:01:19 +0100
commit54de16fcd5a1f6904eb7b89bf5aaf9b3f4e9175c (patch)
treea6029dea5a2026328fb36e6634b76201a4731e84 /CMakeLists.txt
parentcd9b98d8931d4049e536743e842294a6b7bb93d1 (diff)
downloadsherlock.lv2-54de16fcd5a1f6904eb7b89bf5aaf9b3f4e9175c.tar.xz
prototype osc_inspector and midi_inspector.
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 7d7453c..4d08dff 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,6 +5,7 @@ project(sherlock.lv2)
include_directories(${PROJECT_SOURCE_DIR})
include_directories(${PROJECT_SOURCE_DIR}/libosc)
include_directories(${PROJECT_SOURCE_DIR}/eo_ui.lv2)
+include_directories(${PROJECT_SOURCE_DIR}/osc.lv2)
set(CMAKE_C_FLAGS "-std=gnu99 -Wextra -Wno-unused-parameter -ffast-math -fvisibility=hidden ${CMAKE_C_FLAGS}")
set(CMAKE_C_FLAGS "-Wshadow -Wimplicit-function-declaration -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes ${CMAKE_C_FLAGS}")
@@ -15,6 +16,7 @@ set(SHERLOCK_MINOR_VERSION 1)
set(SHERLOCK_MICRO_VERSION 1)
set(SHERLOCK_VERSION "${SHERLOCK_MAJOR_VERSION}.${SHERLOCK_MINOR_VERSION}.${SHERLOCK_MICRO_VERSION}")
add_definitions("-DSHERLOCK_VERSION=\"${SHERLOCK_VERSION}\"")
+add_definitions("-D_GNU_SOURCE=1") # asprintf
set(DEST lib/lv2/sherlock.lv2)
if(WIN32)
@@ -48,14 +50,18 @@ endif()
add_library(sherlock MODULE
sherlock.c
- atom_inspector.c)
+ atom_inspector.c
+ midi_inspector.c
+ osc_inspector.c)
target_link_libraries(sherlock ${LIBS})
set_target_properties(sherlock PROPERTIES PREFIX "")
install(TARGETS sherlock DESTINATION ${DEST})
add_library(sherlock_ui MODULE
sherlock_ui.c
- atom_inspector_ui.c)
+ atom_inspector_ui.c
+ midi_inspector_ui.c
+ osc_inspector_ui.c)
target_link_libraries(sherlock_ui ${LIBS_UI})
set_target_properties(sherlock_ui PROPERTIES PREFIX "")
install(TARGETS sherlock_ui DESTINATION ${DEST})