summaryrefslogtreecommitdiffstats
path: root/samples.d/config.cmake.sample
AgeCommit message (Collapse)AuthorFilesLines
2018-07-11Rework CMAKE_INSTALL_PREFIX and INSTALL_PREFIX varSebastien Douheret1-5/+0
Following change ID 1ec753146f, CMAKE_INSTALL_PREFIX has been replaced by INSTALL_PREFIX. So differ CMAKE_PREFIX_PATH and LD_LIBRARY_PATH setting in 03-macros in order to be sure that CMAKE_INSTALL_PREFIX has been set correctly. Change-Id: I6effcaaab658fd24c929cd4a30fa38ad8f4df145 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-10Be able to overwrite BUILD_TYPE using CLIsandbox/sdesneux/4a_masterRomain Forlot1-1/+1
If not defined using CLI CMake set the variable CMAKE_BUILD_TYPE to an empty value. As it is a CACHE variable it can't be overwritten except if you force it. This fix setting this variable the first defined value wins: CLI > Config.cmake > Default value (DEBUG) Change-Id: I7ff3c9063febf71b898fa7f19058ce2fb25fae01 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-09Use CACHE variable for other common CMAKE variableRomain Forlot1-3/+3
This is done to be able to overwite from CLI those variables. CMAKE_INSTALL_PREFIX is a special case since it is set by default to '/usr/local' at CMake invocation. So overwriting by CLI is fine but set it up using config.cmake file not. So since CMake v3.7 there is a variable to know if this variable has been set by default or not. Change-Id: I60c5161fa9a4134d100ef709d0966d599871ad44 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-06-14config.cmake.sample: Remove dependency to libsystemdJosé Bollo1-1/+4
The dependency to libsystemd isn't strictly required. Change-Id: I763e6a8d63af921c25c8dfdfb2d2021671dfd9d2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-06-14config.cmake.sample: Remove dependency to libmicrohttpdJosé Bollo1-1/+0
The dependency to libmlicrohttpd is a fake. Just remove it! Change-Id: I511acc0ea9207aa973aac28fe02b1262ad8a47c2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-06-11Added -D_FORTIFY_SOURCE=2 to CFLAGSThierry Bultel1-1/+2
Added this option, to match the given ones when building from yocto with bitbake. Also fixed the sample example, and some copy-paste issues on build targets (RELEASE/DEBUG/PROFILING/CCOV). Change-Id: I759305e54d427e6763f32b1a86207fe35add1b3f Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-05-07Launch from workdirRomain Forlot1-1/+1
This will ensure we are to be able to correctly debug with GDB. Indeed workdir afb-daemon parameter need to be set at the current dir to correctly retrieve source files path for GDB Change-Id: Ib59e80ec48314d5d58e033d894314d0bd676fb85 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-04-30Change closing that could fix native debuggingRomain Forlot1-1/+1
Change-Id: I5b1f48d2ad70bb5903e13e1df76d523ee12a52b1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-03-26Change default sample settings.Romain Forlot1-2/+2
No needs to force CMAKE build type to debug as it's the default. Only kept for convenience if needed to specify other build type. Change-Id: Idf88f09eebf6ab4defe070b7df23ebf769861c63 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-01-05Use LFSH named, rename data to varRomain Forlot1-3/+0
Change-Id: I63ad812fc69c0ac38db0b16af405614fa68f6d54 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-21Use new CPP generation from afb-genskelRomain Forlot1-1/+1
Include a new options calling afb-genskel depending on PROJECT_LANGUAGES variable Change-Id: Id7719b399eac58f0ced54a49e09350a587e4e997 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-23Protect path with space in it.Romain Forlot1-2/+2
Bug-AGL: SPEC-1117 Change-Id: I36ba8047c3dc722c6c99ecbd90e14d5d717cb808 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-17Check version between app-templates and project.Romain Forlot1-1/+0
PROJECT_VERSION could be detected if project is located in AGL gerrit repo or with personal tags when in personal repository This version is checked against app-templates version which is aligned on AGL tags. A warning is displayed if app-templates version is outdated related to project_version. Also a "dirty" flag is appended to the project version if git repo isn't in sync with its remote counterpart. Then you could know if see an installed widget on a target that got that "-dirty" flag appended to the version that this widget include code that could not be merged in the git repository. Bug-AGL: SPEC-951 Change-Id: I99687560d19d746c887fc7a095e71407bda34325 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-24Make use of LibEfence optionalRomain Forlot1-0/+1
Change-Id: I22b52611dab0be6021b08d6c6d63bc369df0b4d4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-25Generic default CLOSING_MESSAGE in sample configRomain Forlot1-13/+13
Change-Id: I6886b4d7844e208f3f996418d9658567e8d8f135 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-23Format: Remove spaces at EOLRomain Forlot1-1/+1
Change-Id: If16b9cd45e5955b8ca8049fee1ea97a9d43d5cb7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-22Format, improve config.cmake.sample fileRomain Forlot1-7/+39
Change-Id: I6683ac65ea12d697b29adf6d7af1d6939102867d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-18Better handling icon&config.xml to build widgetRomain Forlot1-2/+2
Default value set Change-Id: Ie1370ff9e89bb80044fc847b4cf37ba19314ecc1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-18Cleaning, formatRomain Forlot1-5/+5
Change-Id: I0328f500867636bf13289bc2a9d7f8d5a9f7e060 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-18Duplicate variable meant to set installation dirRomain Forlot1-4/+0
Remove BINDING_INSTALL_PREFIX variable Change-Id: Ia5be7f18a66b3667f03edb265caccc515e0490b2 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-16Better handling of iconsRomain Forlot1-0/+1
Use custom icon if needed or default one if none Change-Id: Ieaa096e3bf40f202e5204dbb48a977edc074d24b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-16Ease standard target DATA and HTDOCS creationRomain Forlot1-0/+7
This will create a custom target which make sure input files are correct (linting or compiling them) then copying them into the target build dir Change-Id: I1d346d4611a6d97682a00d2038de41a643b28928 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-16Extending pluggable arch for templatesRomain Forlot1-0/+167
Idea is to be able to use custom templates from home dir and system dir Change-Id: I74b48458f3dcc26b49f8144e042c213691028167 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>