summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-15Improve populate htdocs and data target types.Romain Forlot1-5/+5
Copy the directory contents instead of the directory itself to avoid copying directory inside the target directory if it exists. Change-Id: I152287e59dc1f0a00fcf538f270519128459dc42 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Fix project LIBDIR and RESOURCES paths.Romain Forlot1-2/+2
Change-Id: I36c4139e53266938285f8a275bf38243cd10907e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Improve .gitignoreRomain Forlot1-0/+3
Change-Id: I994277a8a552ac76b043b388f03a4f8e0ec0bd6b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Specify script as a sample file to be copiedRomain Forlot1-0/+0
Change-Id: I464a4eb83f47860f3e5e0f9297e6632fe90cdc51 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Reorganization for a new project tree logic.Romain Forlot7-65/+176
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>
2018-10-15Git repo can be used as submodulesRomain Forlot132-11269/+0
Clean templates files as they are useless for usage in submodules into a project. Change-Id: I24c71b64ab2b3a958494f3f190c014227a1da576 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
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>