summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2015-10-01 16:16:16 +0300
committerDaniel Zaoui <daniel.zaoui@yahoo.com>2015-10-05 09:10:15 +0300
commitf98ba477e46d58ca31cf55a9809fbe48c1858df6 (patch)
treea90a3b4157ff6beb1952342fc8c13fe8e61dcafd /data
parent5e72d93508fb24401330e299e38a470e2f103629 (diff)
Create layout directory for JSON files
Diffstat (limited to 'data')
-rw-r--r--data/config/CMakeLists.txt2
-rw-r--r--data/layouts/CMakeLists.txt12
-rw-r--r--data/layouts/dummy.json (renamed from data/config/dummy.json)0
-rw-r--r--data/layouts/factory.json (renamed from data/config/factory.json)0
4 files changed, 12 insertions, 2 deletions
diff --git a/data/config/CMakeLists.txt b/data/config/CMakeLists.txt
index bc5b262..4696272 100644
--- a/data/config/CMakeLists.txt
+++ b/data/config/CMakeLists.txt
@@ -4,8 +4,6 @@ LIST(APPEND CONFIG_FILES
4 func_names.json 4 func_names.json
5 black_list.json 5 black_list.json
6 egui_all.eo 6 egui_all.eo
7 dummy.json
8 factory.json
9 ) 7 )
10#always copy config files into build directory, so egui_cmd will be able to generate egui_auto 8#always copy config files into build directory, so egui_cmd will be able to generate egui_auto
11foreach (f ${CONFIG_FILES}) 9foreach (f ${CONFIG_FILES})
diff --git a/data/layouts/CMakeLists.txt b/data/layouts/CMakeLists.txt
new file mode 100644
index 0000000..61fc84a
--- /dev/null
+++ b/data/layouts/CMakeLists.txt
@@ -0,0 +1,12 @@
1cmake_minimum_required(VERSION 2.8.1)
2
3LIST(APPEND CONFIG_FILES
4 dummy.json
5 factory.json
6 )
7#always copy config files into build directory, so egui_cmd will be able to generate egui_auto
8foreach (f ${CONFIG_FILES})
9 configure_file(${f} ${CMAKE_CURRENT_BINARY_DIR}/${f} COPYONLY)
10endforeach(f)
11
12install (FILES ${CONFIG_FILES} DESTINATION share/${PROJECT_NAME_LOWER}/layouts)
diff --git a/data/config/dummy.json b/data/layouts/dummy.json
index 714da5c..714da5c 100644
--- a/data/config/dummy.json
+++ b/data/layouts/dummy.json
diff --git a/data/config/factory.json b/data/layouts/factory.json
index f9681cb..f9681cb 100644
--- a/data/config/factory.json
+++ b/data/layouts/factory.json