diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-08-16 18:33:46 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:47 +0200 |
commit | 25057ef19f2aa613192b384b41345be13b7c3fd2 (patch) | |
tree | 20c83e478038b70440124a6db46664fb7c84912d /docs/dev_guide/4_advanced_customization.md | |
parent | 306b77890d3ecf17a5a6c9bd109c2815eafaabed (diff) |
Personal files inclusion now by projects.
Depending on file name you can include some files from your
home or system by project or globally
Change-Id: I1fef678073977633576a21893065e681b286646c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'docs/dev_guide/4_advanced_customization.md')
-rw-r--r-- | docs/dev_guide/4_advanced_customization.md | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/dev_guide/4_advanced_customization.md b/docs/dev_guide/4_advanced_customization.md index 796232f..0d8957e 100644 --- a/docs/dev_guide/4_advanced_customization.md +++ b/docs/dev_guide/4_advanced_customization.md @@ -9,8 +9,13 @@ automatically from some specifics locations. They are included in that order: - Home CMake files located in _$HOME/.config/app-templates/cmake.d_ - System CMake files located in _/etc/app-templates/cmake.d_ -CMake files has to be named using the following convention: `XX-***.cmake`, -where `XX` are numbers, `***` file name (ie. `99-my_customs.cmake`). +CMake files has to be named using the following convention: `XX-common-*.cmake` +or `XX-${PROJECT_NAME}-*.cmake`, where `XX` are numbers, `*` file name +(ie. `99-common-my_customs.cmake`). + +> **NOTE** You need to specify after numbers that indicate include order, to +which project that file applies, if it applies to all project then use keyword +`common`. So, saying that you should be aware that every normal cmake variables used at project level could be overwrited by home or system located cmake files if |