Adding warning message to migrate on CMake module 01/16901/3
authorRomain Forlot <romain.forlot@iot.bzh>
Wed, 3 Oct 2018 14:15:26 +0000 (16:15 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Fri, 5 Oct 2018 14:46:33 +0000 (14:46 +0000)
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>
cmake/common.cmake

index f553ae0..5bdc645 100644 (file)
@@ -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()