Migrate app-templates to CMake module 17/17617/1
authorRomain Forlot <romain.forlot@iot.bzh>
Wed, 31 Oct 2018 15:46:08 +0000 (16:46 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Wed, 31 Oct 2018 15:51:22 +0000 (16:51 +0100)
Bug-AGL SPEC-1682

Change-Id: I577e0d29b727fc590ff7a83057c60624e59d8d3c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
conf.d/app-templates [deleted submodule]
conf.d/cmake/config.cmake

diff --git a/conf.d/app-templates b/conf.d/app-templates
deleted file mode 160000 (submodule)
index 332f377..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 332f377e84a673cdcfe52ce71c932f39c4b48022
index 03bf212..76a9c3f 100644 (file)
@@ -28,9 +28,9 @@ set(PROJECT_AUTHOR_MAIL "loic.collignon@iot.bzh")
 set(PROJECT_LICENSE "APL2.0")
 set(PROJECT_LANGUAGES "C")
 
-# Where are stored default templates files from submodule or subtree app-templates in your project tree
+# Where are stored the project configuration files
 # relative to the root project directory
-set(PROJECT_APP_TEMPLATES_DIR "conf.d/app-templates")
+set(PROJECT_CMAKE_CONF_DIR "conf.d")
 
 # Where are stored your external libraries for your project. This is 3rd party library that you don't maintain
 # but used and must be built and linked.
@@ -197,5 +197,8 @@ set(PACKAGE_MESSAGE "Install widget file using in the target : afm-util install
 
 # This include is mandatory and MUST happens at the end
 # of this file, else you expose you to unexpected behavior
+#
+# This CMake module could be found at the following url:
+# https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/cmake-apps-module
 # -----------------------------------------------------------
-include(${PROJECT_APP_TEMPLATES_DIR}/cmake/common.cmake)
+include(CMakeAfbTemplates)