diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-08-16 18:33:46 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-08-16 18:47:52 +0200 |
commit | 9c71a765f0e4f53a6bbae5f550515b93eb9d7c53 (patch) | |
tree | 72dcc4a1048369f428d9c0e1b87cbb2dbb13408d /README.md | |
parent | 0013593d4289e0be2e6651980185e3e95fcb8726 (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 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -307,8 +307,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 |