summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-15Update template to the referenceRomain Forlot8-8/+16
Change-Id: I32b9911fa0f8b294e3f38ce88de2ed58a9b57c71 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Add closing message and a widget message. Example more completeRomain Forlot4-8/+8
Change-Id: Ia320d1f95131704b2d5dfd5987edbc183e2956bd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: wrong path to test if html5 app is generated.Romain Forlot2-4/+4
Change-Id: I36825a533db7816229c249b1af1e199231fd6fbc Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Testing correctly a propertyRomain Forlot1-1/+2
Change-Id: I86259e19ec58df81591cd2491ce560ce932b5406 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: 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>
2018-10-15Fix: 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>
2018-10-15Update templatesRomain Forlot4-8/+12
Change-Id: Iff329f333f3b6f81471a6c5ada5acb0418523f21 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: using property for global targets listRomain Forlot1-1/+2
Change-Id: I42667730a021c2a5c59906ed915d81530db763cf Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Update templates macros.cmake files.Romain Forlot4-52/+20
Change-Id: I030e08c308cbff28df232314008707b6dcacb261 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15GLOBAL 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>
2018-10-15Updating template to the new AGLbuild scriptRomain Forlot4-0/+8
Change-Id: I3346850bf36797aa6a73db39c630ac5ea668cee5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: 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>
2018-10-15Adding comments as documentation for each target.Romain Forlot9-21/+168
Change-Id: Ia4d73bd4c2cd3be882998c45fca2fa3da8bae971 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Update template with references.Romain Forlot18-123/+309
Change-Id: Ic575adc4c8815f41a02c32d9835332cc2608d513 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Adding missing mimetypeRomain Forlot1-0/+1
Change-Id: I09612dcd21c881363bb3da911f3429ea49f68104 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Adding a widget message after building the widget package.Romain Forlot2-1/+7
Change-Id: I868faad7cc1985cd2fe0267694d2ec363ab01d7d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Change 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>
2018-10-15Rework 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>
2018-10-15Fix: 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>
2018-10-15Check compiler version to ensure a minimal version.Romain Forlot2-3/+10
Change-Id: I619ba2c41e9e5f46b1d10d31510794b6577fce85 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Remove bashisme and don't echo executed command.Romain Forlot1-5/+9
Change-Id: Ifca91194ce89b3264cbb417ccfd60981bcfc246d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Update CMakeLists files tree and organizationRomain Forlot8-47/+102
Separation between project CMake file and Target CMake files. Adding LINK_FLAGS missing for bindings and following sources files rename operations. Change-Id: I664d20f84fd6a528fb2b057981e3ef9a4243c10d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Templates separation between binding API hat and CallbacksRomain Forlot7-76/+225
Change-Id: I4c405c0ae02f50f03f9b4e71ebbdcd74f51e4ac8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Update template to the reference.Romain Forlot4-240/+252
Change-Id: I5140d5c8df51773815074b1f7dd5a9556a3e6428 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Generate 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>
2018-10-15Change PREFIX test logic for binding using REGEX.Romain Forlot1-6/+8
Change-Id: I42dbc6d0830073cdc0dee8a24e2f482bca1119a5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: 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>
2018-10-15Adding LANGUAGES to the project. Better compiler version detectionRomain Forlot2-1/+2
Change-Id: I0c363ad462623d02259ef6cf1812e3fa704c75aa Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: wrong reference to environment variable.Romain Forlot1-1/+1
Change-Id: Id352943ac3b57e6230ac1d6d3e2d53736b12e4ba Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Update README with renamed macrosRomain Forlot1-4/+8
Change-Id: I0f2081dfc73962c9bffefc4b359aa72497fe24c7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Update template to the referenceRomain Forlot11-304/+262
Change-Id: I20dbf83d4de0986c0b5d9aa2322f9f2450449037 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Use optional pattern argument to search under subdirsRomain Forlot1-1/+6
Change-Id: Ic24dee22f0e8353cc7bc9fb6a4698d4d7d762412 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15FormatRomain Forlot1-1/+1
Change-Id: I67954365b7840182aefd7f5a67a9ae1ccda332a7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Rename macro with all the same prefix. ClearerRomain Forlot1-45/+57
Change-Id: I0500f4e677ef3436bd05d46ab8363222bcd047fd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Remove unused dirty macrosRomain Forlot1-25/+0
Change-Id: I81fa1b72a91f56222de153c52d3d5ed9d084f1ea Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Add .gitignoreRomain Forlot1-1/+3
Change-Id: Iea7229c8afbf7f50826359227aec54cff5c0fa7e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Update to the latest modification from referenceRomain Forlot8-10/+18
Change-Id: I488eb76f809516a65ae642d7ff25b7ba51c94e2c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: wrong mimetype and content value for HTML5 exampleRomain Forlot1-1/+1
Change-Id: I48e1ec6ec4d78b828572e3d0b009c78f6ede41c6 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix: wrong cp command, missing recursive parameterRomain Forlot1-1/+1
Change-Id: I7dd75ab9f884e49343235cf82e4794ab8df53a0e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Improve documentation.Romain Forlot1-3/+14
Added more detailled instruction about installation of these files. Added the explanation of the AGLbuild script purpose. Change-Id: I0ba3c51940215fb6c90c02e3950abf445ee21ed6 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Rename to more meaningful name directoriesRomain Forlot132-0/+0
Change-Id: Ib3990308c1f2358b3e330cd0068719098c4dab56 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Continue separation of sources and put also html5 into separated dirRomain Forlot14-67/+99
Change-Id: I36bc61f69f0e2d197f1891f3ea7cfa30e9a29e3b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Delete dirty qml examplesRomain Forlot19-1042/+0
Change-Id: Id835a5103b859ea3b3339f4559cfa0d47736857d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Put sources into dedicated directoriesRomain Forlot6-4/+4
Change-Id: I424377f4a25f45f6bfcea84ce59812fb674a861b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Keep only icon in the packaging directoryRomain Forlot1-0/+0
Change-Id: Id0f3ab6a66df07806228eab49ded2f0f56e3f14a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Improve README usage chapter to be more descriptive of what to do.Romain Forlot1-33/+79
Change-Id: Ie5690cedf922bf89a590bf5fd33fa5fa9e9086bb Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Use OUTPUT_NAME properties by default to populate to widget treeRomain Forlot1-4/+4
As if not set then it will be logical name and if set then it is the good name Change-Id: I424aa9c8d8486350486e9c2b13dc3c9be9ccd5a0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Remove useless scriptRomain Forlot1-96/+0
Change-Id: I15a268a451010f734386301d51ed92f880065c6d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15replaces macro 'setc..' by 'set..CACHE'José Bollo7-112/+70
Change-Id: Ifb8ca2060e054b99cad8341f332b143655c3fea6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-10-15Adding exec permission to the AGLbuild template scriptRomain Forlot1-0/+0
Change-Id: Ifd7c9462b9c125de4603068f603ebddb80ff4d13 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>