summaryrefslogtreecommitdiffstats
path: root/src/cmake/cmake.d/02-variables.cmake
AgeCommit message (Collapse)AuthorFilesLines
2019-07-12Add automatic test tree creationFrederic Marec1-0/+4
Add test tree template Add test path variable Add test-tree target Bug-AGL: SPEC-2040 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh> Change-Id: I836d6e7653b600e92c7a0de065a41054ea06005e
2019-06-2702-variables.cmake: Fix wrong variable testedhalibut_7.99.3halibut_7.99.2halibut/7.99.3halibut/7.99.27.99.37.99.2Romain Forlot1-2/+2
Fix wrong variable tested setting the PROJECT_HOMEPAGE_URL Bug-AGL: SPEC-2549 Change-Id: I53448d4ddd4c6b148997e140c0f421ddd6dfe182 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2019-06-0602-variables.cmake: project options for 3.12.4Frederic Marec1-1/+1
cmake variable VERSION_GREATER_EQUAL are available in cmake 3.7 opensuse 42.3 and ubuntu 16.04 use cmake 3.6 we need to use VERSION_GREATER variable for compatibility BUG-AGL: SPEC-2464 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh> Change-Id: I581713980c38a3cadcfebe10d2a9ba90b826fe34
2019-06-0402-variables.cmake: project options for 3.12.4Clément Bénier1-3/+7
both HOMEPAGE_URL and DESCRIPTION are only available in 3.12.4 BUG-AGL: SPEC-2464 Change-Id: I2fcf30c3f59464bb16e362f43ae032a7160638ac Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2019-05-2902-variables.cmake: warns - unset project optionshalibut_7.99.1halibut/7.99.17.99.1Clément Bénier1-1/+14
- add warnings when PROJECT_DESCRIPTION and HOMEPAGE_URL are unset BUG-AGL: SPEC-2464 Change-Id: I24bd6e2428a1c4a89561740a4fc4a55bb14a3a2a Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2019-05-2802-variables.cmake: fix project cmake-commandsClément Bénier1-1/+1
Set all options in the cmake-commands named project. Add HOMEPAGE_URL and DESCRIPTION options. BUG-AGL: SPEC-2464 Change-Id: I55c6ba7136df80f0f5679be2e9cbd0410afd3630 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-11-08Packaging: find version from command line argumentRomain Forlot1-2/+4
There is a lack in the way to find the project version when you package a project using cmake-apps-module because there isn't git repo included in the source archive then the git tag could not be retrieved. So this commit brings the possibility to set the version from the command line using the argument VERSION. Change-Id: Iba9902a2a1c61a348d719aaca85c26b3786d3620 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-11-08Fix: version variable detection.Romain Forlot1-3/+3
Gives instructions in the error message. Change-Id: I56ff89932d8222116c091e25bfa5fc3b0489d5e8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-11-06Adding packaging filesRomain Forlot1-0/+205
Change-Id: I70d30588c59e6a0d3c451c74fc6cc565b5eea167 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>