diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2015-03-27 00:19:45 +0100 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2015-03-27 00:19:45 +0100 |
commit | b6826aaefcab4be5ce3f7bc2d89753468771b75b (patch) | |
tree | 5506b8434b3210adf7a6e9492f009bbc1169d18d /CMakeLists.txt | |
parent | c0c1adb3a846ff9d47e19a415f2f8c67eb393397 (diff) | |
download | synthpod-b6826aaefcab4be5ce3f7bc2d89753468771b75b.tar.xz |
app <-> independent and compiling.
* app <-> communication not yet functional
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 90169f72..2188f344 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,46 +11,40 @@ include_directories(${PROJECT_SOURCE_DIR}/cjson) include_directories(${PROJECT_BINARY_DIR}) set(APP_DIR share/synthpod) -set(LIBS "") +#set(LIBS "") #add_definitions("-std=gnu99" "-fdump-rtl-expand") # libuv pkg_search_module(UV REQUIRED libuv>=1.0) include_directories(${UV_INCLUDE_DIRS}) -set(LIBS ${LIBS} ${UV_LDFLAGS}) + +# libuv +pkg_search_module(UV REQUIRED libuv>=1.0) +include_directories(${UV_INCLUDE_DIRS}) + +# eina +pkg_search_module(EINA REQUIRED eina>=1.8) +include_directories(${EINA_INCLUDE_DIRS}) # elm pkg_search_module(ELM REQUIRED elementary>=1.8) include_directories(${ELM_INCLUDE_DIRS}) -set(LIBS ${LIBS} ${ELM_LDFLAGS}) # lilv pkg_search_module(LILV REQUIRED lilv-0>=0.20) include_directories(${LILV_INCLUDE_DIRS}) -set(LIBS ${LIBS} ${LILV_LDFLAGS}) # lv2 pkg_search_module(LV2 REQUIRED lv2>=1.10) include_directories(${LV2_INCLUDE_DIRS}) -set(LIBS ${LIBS} ${LV2_LDFLAGS}) # uuid pkg_search_module(UUID REQUIRED uuid>=2.25) include_directories(${UUID_INCLUDE_DIRS}) -set(LIBS ${LIBS} ${UUID_LDFLAGS}) -# synthpod -add_executable(synthpod.app - synthpod.c - app.c - varchunk.c - patcher.c - ext_urid.c - cjson/cJSON.c) -target_link_libraries(synthpod.app ${LIBS}) -target_compile_definitions(synthpod.app PUBLIC -DAPP_DIR=${APP_DIR}) -set_target_properties(synthpod.app PROPERTIES OUTPUT_NAME "synthpod") -install(TARGETS synthpod.app DESTINATION bin) +# elm +pkg_search_module(ELM REQUIRED elementary>=1.8) +include_directories(${ELM_INCLUDE_DIRS}) add_executable(test_varchunk test_varchunk.c |