Migrate app-templates to CMake module 65/17565/2
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 23 Oct 2018 13:26:33 +0000 (15:26 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Wed, 31 Oct 2018 15:52:29 +0000 (16:52 +0100)
Bug-AGL SPEC-1682

Change-Id: Icb299d7f824683b454731a47ca928184abf494b1
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 3dc85ec..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 3dc85ecc9693a3a4af6d1143507f56b6800d523e
index 9556a87..7c82ba1 100644 (file)
@@ -30,9 +30,9 @@ set(PROJECT_LICENSE "MIT")
 set(PROJECT_LANGUAGES,"C")
 set(API_NAME "persistence")
 
-# 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)