aboutsummaryrefslogtreecommitdiff
path: root/data/CMakeLists.txt
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-09-12 20:54:43 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-09-12 20:54:43 +0200
commit864c9e7218bc3c0b7973151cb9b0b91d66adc90e (patch)
tree2a66a4f9c2088d320f0a8f82c595644a0c0347b3 /data/CMakeLists.txt
parentce806d7b95a2220a9cbd77fc5d5dc9247a36548c (diff)
downloadsynthpod-864c9e7218bc3c0b7973151cb9b0b91d66adc90e.tar.xz
remove GUI build option, add GUI cli argument.
* remove GUI build option * add command line argument to disable GUI * split man page in two.
Diffstat (limited to 'data/CMakeLists.txt')
-rw-r--r--data/CMakeLists.txt58
1 files changed, 28 insertions, 30 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index e861cbc3..b205f956 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -1,34 +1,32 @@
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
-if(BUILD_UI)
# theme
- find_program(EDJE_CC NAMES edje_cc)
- if(EDJE_CC_NOTFOUND)
- message(SEND_ERROR "edje_cc not found")
- else(EDJE_CC_NOTFOUND)
- message(STATUS "edje_cc found: " ${EDJE_CC})
- endif(EDJE_CC_NOTFOUND)
+find_program(EDJE_CC NAMES edje_cc)
+if(EDJE_CC_NOTFOUND)
+ message(SEND_ERROR "edje_cc not found")
+else(EDJE_CC_NOTFOUND)
+ message(STATUS "edje_cc found: " ${EDJE_CC})
+endif(EDJE_CC_NOTFOUND)
- add_custom_command(
- OUTPUT ${PROJECT_BINARY_DIR}/synthpod.edj
- COMMAND ${EDJE_CC} ARGS
- "-fd" ${CMAKE_CURRENT_SOURCE_DIR}/font
- "-id" ${CMAKE_CURRENT_SOURCE_DIR}/pix
- ${CMAKE_CURRENT_SOURCE_DIR}/synthpod.edc
- ${PROJECT_BINARY_DIR}/synthpod.edj
- DEPENDS
- ${CMAKE_CURRENT_SOURCE_DIR}/modgrid.edc
- ${CMAKE_CURRENT_SOURCE_DIR}/modlist.edc
- ${CMAKE_CURRENT_SOURCE_DIR}/patcher.edc
- ${CMAKE_CURRENT_SOURCE_DIR}/smart_slider.edc
- ${CMAKE_CURRENT_SOURCE_DIR}/smart_meter.edc
- ${CMAKE_CURRENT_SOURCE_DIR}/smart_spinner.edc
- ${CMAKE_CURRENT_SOURCE_DIR}/smart_toggle.edc
- ${CMAKE_CURRENT_SOURCE_DIR}/synthpod.edc
- ${CMAKE_CURRENT_SOURCE_DIR}/theme.edc
- ${CMAKE_CURRENT_SOURCE_DIR}/omk_logo.edc
- ${CMAKE_CURRENT_SOURCE_DIR}/entry.edc
- ${CMAKE_CURRENT_SOURCE_DIR}/group.edc)
- add_custom_target(THEME ALL DEPENDS ${PROJECT_BINARY_DIR}/synthpod.edj)
- install(FILES ${PROJECT_BINARY_DIR}/synthpod.edj DESTINATION ${SYNTHPOD_DATA_DIR})
-endif()
+add_custom_command(
+ OUTPUT ${PROJECT_BINARY_DIR}/synthpod.edj
+ COMMAND ${EDJE_CC} ARGS
+ "-fd" ${CMAKE_CURRENT_SOURCE_DIR}/font
+ "-id" ${CMAKE_CURRENT_SOURCE_DIR}/pix
+ ${CMAKE_CURRENT_SOURCE_DIR}/synthpod.edc
+ ${PROJECT_BINARY_DIR}/synthpod.edj
+ DEPENDS
+ ${CMAKE_CURRENT_SOURCE_DIR}/modgrid.edc
+ ${CMAKE_CURRENT_SOURCE_DIR}/modlist.edc
+ ${CMAKE_CURRENT_SOURCE_DIR}/patcher.edc
+ ${CMAKE_CURRENT_SOURCE_DIR}/smart_slider.edc
+ ${CMAKE_CURRENT_SOURCE_DIR}/smart_meter.edc
+ ${CMAKE_CURRENT_SOURCE_DIR}/smart_spinner.edc
+ ${CMAKE_CURRENT_SOURCE_DIR}/smart_toggle.edc
+ ${CMAKE_CURRENT_SOURCE_DIR}/synthpod.edc
+ ${CMAKE_CURRENT_SOURCE_DIR}/theme.edc
+ ${CMAKE_CURRENT_SOURCE_DIR}/omk_logo.edc
+ ${CMAKE_CURRENT_SOURCE_DIR}/entry.edc
+ ${CMAKE_CURRENT_SOURCE_DIR}/group.edc)
+add_custom_target(THEME ALL DEPENDS ${PROJECT_BINARY_DIR}/synthpod.edj)
+install(FILES ${PROJECT_BINARY_DIR}/synthpod.edj DESTINATION ${SYNTHPOD_DATA_DIR})