summaryrefslogtreecommitdiffstats
path: root/cmake/common.cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-10-03 16:15:26 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-05 14:46:33 +0000
commit0f25ab2fa35a36c8d9b4675522f1ecb9ec74d884 (patch)
treebe62eb26ca0fbe0f3948f3c1aef57b4591f9fa18 /cmake/common.cmake
parent3dc85ecc9693a3a4af6d1143507f56b6800d523e (diff)
Adding warning message to migrate on CMake module
Add a warning that no update will further be delivered and that the developper should migrate to cmake module. With instructions on how to do so. Bugs-AGL: SPEC-1682 Change-Id: I0158b729f7cf1c9b3b7ab639f42bc52028d7835c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake/common.cmake')
-rw-r--r--cmake/common.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/common.cmake b/cmake/common.cmake
index f553ae0..5bdc645 100644
--- a/cmake/common.cmake
+++ b/cmake/common.cmake
@@ -85,6 +85,8 @@ foreach(file ${system_cmakefiles} ${home_cmakefiles} ${project_cmakefiles})
include(${file})
endforeach()
+message(STATUS "${Red}You are using the submodule version of app-templates. This version will not be update in the future and you should migrate to the CMake module version. It could be found here: https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/cmake-apps-module. Using latest SDK with a version > FF include it by default. To migrate deinit the existing app-templates submodule and replace the last line of your config.cmake file with 'include(CMakeAppsHelpers)'. If you directly want to use it, only take the config.sample.cmake file from the CMake module and edit to fit your needs.")
+
set_install_prefix()
prevent_in_source_build()