diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-08-23 12:13:01 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-23 20:54:23 +0200 |
commit | 6dddf0f9f5f6769db5b3cc41a5d74c371ff93bf9 (patch) | |
tree | 77e22c760e75dd8b7595670d3b81888ea4f15c77 /samples.d/config.cmake.sample | |
parent | 100657a2353329f19b8e7c584db3f418472f9959 (diff) |
Convert app-templates to a cmake module
- Changes PATH to find correctly all cmake files.
- Clean useless code now it's integrated as CMake module
- Clean variable usage
- Create module entry point
Bugs-AGL: SPEC-1682
Change-Id: I6943129677603b786c7144a92880d82795a916cd
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'samples.d/config.cmake.sample')
-rw-r--r-- | samples.d/config.cmake.sample | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/samples.d/config.cmake.sample b/samples.d/config.cmake.sample index 999208a..5b75557 100644 --- a/samples.d/config.cmake.sample +++ b/samples.d/config.cmake.sample @@ -22,21 +22,17 @@ set(PROJECT_NAME example) set(API_NAME api-test) set(PROJECT_PRETTY_NAME "Example") set(PROJECT_DESCRIPTION "AGL application example") -set(PROJECT_URL "https://gerrit.automotivelinux.org/gerrit/apps/app-templates") +set(PROJECT_URL "https://gerrit.automotivelinux.org/gerrit/apps/cmake-apps-module") set(PROJECT_ICON "icon.png") set(PROJECT_AUTHOR "Last Name, First Name") set(PROJECT_AUTHOR_MAIL "example.man@bigouden.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 -# relative to the root project directory -set(PROJECT_APP_TEMPLATES_DIR "conf.d/app-templates") - # Which directories inspect to find CMakeLists.txt target files # set(PROJECT_SRC_DIR_PATTERN "*") -# Compilation Mode (DEBUG, RELEASE) +# Compilation Mode (DEBUG, RELEASE, COVERAGE or PROFILING) # ---------------------------------- #set(BUILD_TYPE "DEBUG") #set(USE_EFENCE 1) @@ -200,7 +196,4 @@ set(PACKAGE_MESSAGE "Install widget file using in the target : afm-util install #set(XML_CHECKER "xmllint" CACHE STRING "XML linter") #set(JSON_CHECKER "json_verify" CACHE STRING "JSON linter") -# This include is mandatory and MUST happens at the end -# of this file, else you expose you to unexpected behavior -# ----------------------------------------------------------- -include(${PROJECT_APP_TEMPLATES_DIR}/cmake/common.cmake) +include(CMakeAfbTemplates) |