summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-13 00:01:41 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:10:41 +0100
commit2471f77c91357454c7e2449a70ca429d09884965 (patch)
treeb268b8cab70e56e19a9db2274a7ff36f8342693d /src/CMakeLists.txt
parentc54a5d14c001d544a72f3cd27553036e0649f3b1 (diff)
Change configuration location into an etc directory.
Change-Id: I4648f2eb203f37844bfb8deb2527f93b4852e82c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7fd7e06..3c23140 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -102,9 +102,9 @@ add_custom_command(
OUTPUT ${PROJECT_NAME}.wgt
DEPENDS ${PROJECT_NAME} bitfield isotp uds openxc config.xml.in can_buses.json.in
COMMAND rm -rf package
- COMMAND mkdir -p package/${PROJECT_LIBDIR} package/htdocs
+ COMMAND mkdir -p package/${PROJECT_LIBDIR} package/htdocs package/etc
COMMAND cp config.xml package/
- COMMAND cp can_buses.json package/
+ COMMAND cp can_buses.json package/etc
COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_ICON} package/icon.png
COMMAND cp ${PROJECT_NAME}.so package/libs
COMMAND wgtpkg-pack -f -o ${PROJECT_NAME}.wgt package