aboutsummaryrefslogtreecommitdiffstats
path: root/reference
AgeCommit message (Collapse)AuthorFilesLines
2017-05-18Reorganization for a new project tree logic.Romain Forlot6-444/+0
This directory has to be include as submodules by example into a conf.d directory at root project path. conf.d will have config.cmake, icon.png, build scripts and a package directory where should lies builded config.xml and config.spec files to build package using OBS (by example) Change-Id: I2a5cd8a4b5641995ef89a1e796a0e5a229303f7c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-17Testing correctly a propertyRomain Forlot1-1/+2
Change-Id: I86259e19ec58df81591cd2491ce560ce932b5406 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-17Fix: populate targets not createdRomain Forlot1-0/+1
It is a consequence of using property, we have to retrieve it before test it Change-Id: If617bb673cd348dcc7d193878350a4b2c09dee05 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-17Fix: Project name not set.Romain Forlot1-1/+1
Wrong variable used, it was PROJECT_NAME that is used in macros.cmake. Change-Id: Ie7e88cde77a826478e027a543a7d5c6210f44360 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-17Fix: using property for global targets listRomain Forlot1-1/+2
Change-Id: I42667730a021c2a5c59906ed915d81530db763cf Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-17GLOBAL property instead of cache var to handle project targetsRomain Forlot1-11/+3
Didn't find the property GlobalTargetList even in cmake 3.8. So using the existing variable. Change-Id: I2851d54d11daf2462321e234c577fde911d078ee Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-13Fix: being compatible with aglwgt_deploy Yocto tasks.Romain Forlot1-0/+2
Bitbake looks into package dir to take widget and deploy them so we have to move the wgt file into that dir :) Change-Id: Ic729b2ec2a6017f090679c61c8a32a3a62f42d28 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-09Adding missing mimetypeRomain Forlot1-0/+1
Change-Id: I09612dcd21c881363bb3da911f3429ea49f68104 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-09Adding a widget message after building the widget package.Romain Forlot2-1/+7
Change-Id: I868faad7cc1985cd2fe0267694d2ec363ab01d7d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-09Change packaging dependency logicRomain Forlot1-12/+18
Make a main target on which populate target will depend then build widget will just depend on a this target. Change-Id: Idada3b7ce97b9b7412550a1fbc36e8fb19857afc Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-09Rework dependencies about custom target to be more CMake compliantRomain Forlot1-3/+4
CMake dependencies about custom target is to added with add_dependencies() DEPENDS options is more for output file dependencies. Change-Id: I3fb6b17e0de97bbb495471d50562d41f6ab549f0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-09Fix: make CACHED INTERNAL variable to be visible.Romain Forlot1-1/+1
Else scope isn't good and GLOBAL_TARGET_LIST is empty when testing in closing message macro. Change-Id: I1a490d4b4c909996763f9c0b58387dae8e44e1b5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-09Check compiler version to ensure a minimal version.Romain Forlot2-3/+10
Change-Id: I619ba2c41e9e5f46b1d10d31510794b6577fce85 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-09Remove bashisme and don't echo executed command.Romain Forlot1-5/+9
Change-Id: Ifca91194ce89b3264cbb417ccfd60981bcfc246d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-05Generate a new target only if LABELS has been set.Romain Forlot1-37/+37
Change-Id: I0a7fc0a141c738da1211a1b51198e78cc0e5f286 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-05Change PREFIX test logic for binding using REGEX.Romain Forlot1-6/+8
Change-Id: I42dbc6d0830073cdc0dee8a24e2f482bca1119a5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-05Fix: make displaying closing message target as macroRomain Forlot1-16/+17
GLOBAL_TARGETS_LIST is evaluated too early so its definition has been moved to PROJECT_TARGET_ADD which will update the variable for each new target defined. Change-Id: I8c001f71da0b7c55c763418517d1bd0fa9384498 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-05Adding LANGUAGES to the project. Better compiler version detectionRomain Forlot2-1/+2
Change-Id: I0c363ad462623d02259ef6cf1812e3fa704c75aa Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-05Fix: wrong reference to environment variable.Romain Forlot1-1/+1
Change-Id: Id352943ac3b57e6230ac1d6d3e2d53736b12e4ba Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-04Use optional pattern argument to search under subdirsRomain Forlot1-1/+6
Change-Id: Ic24dee22f0e8353cc7bc9fb6a4698d4d7d762412 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-04FormatRomain Forlot1-1/+1
Change-Id: I67954365b7840182aefd7f5a67a9ae1ccda332a7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-04Rename macro with all the same prefix. ClearerRomain Forlot1-45/+57
Change-Id: I0500f4e677ef3436bd05d46ab8363222bcd047fd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-04Remove unused dirty macrosRomain Forlot1-25/+0
Change-Id: I81fa1b72a91f56222de153c52d3d5ed9d084f1ea Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-04Rename to more meaningful name directoriesRomain Forlot6-0/+426
Change-Id: Ib3990308c1f2358b3e330cd0068719098c4dab56 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>