summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2014-10-23 11:56:55 +0300
committerYakov Goldberg <yakov.g@samsung.com>2014-10-23 11:56:55 +0300
commitca68e6c5d484f1b90b07f253396376c96052bfbd (patch)
tree4d8d37c334953ed96186e2bf47c1afda9534e1cf
parent9b06641f17da00a3243684babf4db5d42257cb39 (diff)
Change binary name 'egui' to 'erigo'
-rw-r--r--src/bin/CMakeLists.txt2
-rw-r--r--src/bin/egui_gui/CMakeLists.txt8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/CMakeLists.txt b/src/bin/CMakeLists.txt
index 20ea8cc..0e8ffc0 100644
--- a/src/bin/CMakeLists.txt
+++ b/src/bin/CMakeLists.txt
@@ -6,7 +6,7 @@ include_directories (${CMAKE_SOURCE_DIR}/src/bin/egui_gui)
6link_directories (${CMAKE_SOURCE_DIR}/src/lib) 6link_directories (${CMAKE_SOURCE_DIR}/src/lib)
7link_directories (${PC_LIBELEMENTARY_LIBRARY_DIRS}) 7link_directories (${PC_LIBELEMENTARY_LIBRARY_DIRS})
8 8
9set(TARGET egui_cmd) 9set(TARGET erigo_cmd)
10 10
11add_executable(${TARGET} main.c) 11add_executable(${TARGET} main.c)
12 12
diff --git a/src/bin/egui_gui/CMakeLists.txt b/src/bin/egui_gui/CMakeLists.txt
index f8e3799..25986a3 100644
--- a/src/bin/egui_gui/CMakeLists.txt
+++ b/src/bin/egui_gui/CMakeLists.txt
@@ -45,13 +45,13 @@ add_custom_command(
45 OUTPUT egui_layout.c egui_layout.h 45 OUTPUT egui_layout.c egui_layout.h
46 DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/egui_layout.json ${EGUI_BINARY_BLD}/egui_cmd 46 DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/egui_layout.json ${EGUI_BINARY_BLD}/egui_cmd
47 COMMENT "Generating gui layout from JSON" 47 COMMENT "Generating gui layout from JSON"
48 COMMAND ${EGUI_BINARY_BLD}/egui_cmd -e c -o ./egui_layout ${CMAKE_CURRENT_SOURCE_DIR}/egui_layout.json 48 COMMAND ${EGUI_BINARY_BLD}/erigo_cmd -e c -o ./egui_layout ${CMAKE_CURRENT_SOURCE_DIR}/egui_layout.json
49 ) 49 )
50 50
51############################ 51############################
52# building egui using generated files 52# building egui using generated files
53############################ 53############################
54set(TARGET egui) 54set(TARGET erigo)
55 55
56add_executable(${TARGET} 56add_executable(${TARGET}
57 ${EGUI_BINARY_SRC}/main.c 57 ${EGUI_BINARY_SRC}/main.c
@@ -68,7 +68,7 @@ add_executable(${TARGET}
68 editor.c 68 editor.c
69 ) 69 )
70 70
71add_dependencies(${TARGET} egui_cmd) 71add_dependencies(${TARGET} erigo_cmd)
72 72
73set_property(TARGET ${TARGET} 73set_property(TARGET ${TARGET}
74 PROPERTY COMPILE_DEFINITIONS ${PACKAGE_DATA_DIR_DEFINITION} ${PACKAGE_IMAGES_DIR_DEFINITION}) 74 PROPERTY COMPILE_DEFINITIONS ${PACKAGE_DATA_DIR_DEFINITION} ${PACKAGE_IMAGES_DIR_DEFINITION})
@@ -90,7 +90,7 @@ target_link_libraries (${TARGET}
90#copy egui from /build/egui_gui/ to /build 90#copy egui from /build/egui_gui/ to /build
91add_custom_command (TARGET ${TARGET} 91add_custom_command (TARGET ${TARGET}
92 POST_BUILD 92 POST_BUILD
93 COMMENT "Post: Copying egui_auto into usual build dir" 93 COMMENT "Post: Copying erigo into usual build dir"
94 COMMAND ${CMAKE_COMMAND} -E copy ${TARGET} ${EGUI_BINARY_BLD}/${TARGET} 94 COMMAND ${CMAKE_COMMAND} -E copy ${TARGET} ${EGUI_BINARY_BLD}/${TARGET}
95 ) 95 )
96 96