summaryrefslogtreecommitdiffstats
path: root/samples.d
AgeCommit message (Collapse)AuthorFilesLines
2018-10-15Added -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-10-15Launch 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-10-15Change closing that could fix native debuggingRomain Forlot1-1/+1
Change-Id: I5b1f48d2ad70bb5903e13e1df76d523ee12a52b1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Change 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-10-15Use LFSH named, rename data to varRomain Forlot1-3/+0
Change-Id: I63ad812fc69c0ac38db0b16af405614fa68f6d54 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Use 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>
2018-10-15Protect 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>
2018-10-15Check 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>
2018-10-15Make use of LibEfence optionalRomain Forlot1-0/+1
Change-Id: I22b52611dab0be6021b08d6c6d63bc369df0b4d4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Generic default CLOSING_MESSAGE in sample configRomain Forlot1-13/+13
Change-Id: I6886b4d7844e208f3f996418d9658567e8d8f135 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Format: Remove spaces at EOLRomain Forlot1-1/+1
Change-Id: If16b9cd45e5955b8ca8049fee1ea97a9d43d5cb7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Format, improve config.cmake.sample fileRomain Forlot1-7/+39
Change-Id: I6683ac65ea12d697b29adf6d7af1d6939102867d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Better 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>
2018-10-15Cleaning, formatRomain Forlot1-5/+5
Change-Id: I0328f500867636bf13289bc2a9d7f8d5a9f7e060 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Duplicate 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>
2018-10-15Better 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>
2018-10-15Ease 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>
2018-10-15Extending pluggable arch for templatesRomain Forlot4-0/+340
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>