summaryrefslogtreecommitdiffstats
path: root/src/cmake/cmake.d
AgeCommit message (Collapse)AuthorFilesLines
2019-06-0302-variables.cmake: project options for 3.12.4sandbox/benierc/wipClément Bénier1-3/+7
both HOMEPAGE_URL and DESCRIPTION are only available in 3.12.4 Change-Id: I2fcf30c3f59464bb16e362f43ae032a7160638ac Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2019-05-29updateClément Bénier1-2/+5
Change-Id: I8ac3242a5d251286c0cd493adfbefc95ec5ac2fd Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2019-05-29updateClément Bénier1-1/+1
Change-Id: Icb30cea26aff63926f7f7d74bc8ecc960914d8fe Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2019-05-29updateClément Bénier1-2/+2
Change-Id: I8285ef3fa8aee7791bb96ad4507d7ea180984221 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2019-05-2902-variables.cmake: warns - unset project optionsClément Bénier1-0/+10
- add warnings when PROJECT_DESCRIPTION and HOMEPAGE_URL are unset 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-12-17Avoid a target to link against itselfRomain Forlot1-2/+5
If you have specified in your project to link against a project internal library then the cmake templates should take care to avoid to link a target against itself. Bug-AGL: SPEC-1997 Change-Id: I6959247ab350474533fb8df1c1e912aa203f36b5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-17Add option to preserve links during copyJose Bollo1-5/+5
Links are probably expected when it exists. Change-Id: I9df5776e2e74b3d669da61ea8d978f1fc80df34b Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-12-11Link with defined project libraries dependenciesRomain Forlot1-19/+30
Link with defined project libraries dependencies by default. This will avoid the user to have to specify this again at target level, in addition of project level in the "config.cmake" file. Bug-AGL: SPEC-1997 Change-Id: Ib0933a8eb9259d27c095d18a0dbb5a269d6b0369 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-11-12Use target name as output name by defaultJosé Bollo1-0/+3
Change-Id: I32abe9f2ac5ea25e7902f9a1e870d16bb438d5b2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-11-12Fix indentationJosé Bollo1-1/+1
Change-Id: I843513718c49dcde49d2f727e5dd748c59f1f0ec Signed-off-by: José Bollo <jose.bollo@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 Forlot4-0/+1125
Change-Id: I70d30588c59e6a0d3c451c74fc6cc565b5eea167 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>