aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-05-24Get back to last folder structure (more or less)Romain Forlot6-0/+0
Change-Id: I2993ec9ca8f4ed73e1dfc9fb6caf554bfc0ac871 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-24Fix: can't build rpm fileRomain Forlot1-1/+0
Change-Id: Ie916acdb5402137ef861b3b442ac76a161374731 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-24Fix: can't build wgt fileRomain Forlot1-2/+2
Fix changed icon file name. Change-Id: I2c8ab65df8ffe245f8f52fc8a147c19e76aa069c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-24Update README docRomain Forlot1-16/+46
Change-Id: I94da23c8d87dc11862d93b4c87a8291cad633fb3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-24Add variable indicating where is app-templates repo cloneRomain Forlot2-4/+8
Change-Id: Ifd7d2e47727840705dddec1a4ae83e917a5110be Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-24Separate directory to put package build files.Romain Forlot1-0/+2
Templated files config.xml.in and config.spec.in are configured to be used by wgt and rpm packager software. Change-Id: Id7fbd7822acb4d0f187d9d9b8d1682ee7ef0cc33 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-24Fix: rpm spec file not configured.Romain Forlot1-2/+2
Fix: wrong variable name tested Change-Id: I03dfb603c1c30b1935356699e45b1f82bc1f63c8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-24Format: indentRomain Forlot1-11/+45
Change-Id: Ia500deb6b1af1df6f1f0f0ec31e0e5730ac293f5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-24Rename variable to be more accurateRomain Forlot1-18/+19
Renaming PROJECT_PKG_DIR to PROJECT_PKG_BUILD_DIR. Change-Id: I8e26ca9d2ec908ee2dcd3980ea86847a1b7e0178 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-24Renaming macros to common.Romain Forlot1-0/+0
Change-Id: I5f4085718afa7519ec2ec67566e3685d36412f27 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-24Fix wrong rpm spec files extensions.Romain Forlot2-7/+54
Classic RPM build file is suffixed with .spec. Change-Id: I66e1a756ce72501d3ebb103588bf439bf1135140 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-24Reorganization of folder structureRomain Forlot7-0/+0
Change-Id: I809382d652415038b53be9a1ec9f2f60939cce42 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-22Fix: Test modules package dependencies versions.Romain Forlot1-4/+5
Change-Id: I3cb68b4c431c064e5a34cac5466c3f8afdf06f3b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-22Improve 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>
2017-05-19Fix project LIBDIR and RESOURCES paths.Romain Forlot1-2/+2
Change-Id: I36c4139e53266938285f8a275bf38243cd10907e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-19Improve .gitignoreRomain Forlot1-0/+3
Change-Id: I994277a8a552ac76b043b388f03a4f8e0ec0bd6b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-19Specify script as a sample file to be copiedRomain Forlot1-0/+0
Change-Id: I464a4eb83f47860f3e5e0f9297e6632fe90cdc51 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-18Reorganization 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>
2017-05-18Git 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>
2017-05-17Update template to the referencedab_3.99.1dab/3.99.13.99.1Romain Forlot8-8/+16
Change-Id: I32b9911fa0f8b294e3f38ce88de2ed58a9b57c71 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-17Add closing message and a widget message. Example more completeRomain Forlot4-8/+8
Change-Id: Ia320d1f95131704b2d5dfd5987edbc183e2956bd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-17Fix: 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>
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-17Update templatesRomain Forlot4-8/+12
Change-Id: Iff329f333f3b6f81471a6c5ada5acb0418523f21 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-17Update templates macros.cmake files.Romain Forlot4-52/+20
Change-Id: I030e08c308cbff28df232314008707b6dcacb261 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-13Updating template to the new AGLbuild scriptRomain Forlot4-0/+8
Change-Id: I3346850bf36797aa6a73db39c630ac5ea668cee5 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-12Adding comments as documentation for each target.Romain Forlot9-21/+168
Change-Id: Ia4d73bd4c2cd3be882998c45fca2fa3da8bae971 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-09Update template with references.Romain Forlot18-123/+309
Change-Id: Ic575adc4c8815f41a02c32d9835332cc2608d513 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-05Update 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>
2017-05-05Templates separation between binding API hat and CallbacksRomain Forlot7-76/+225
Change-Id: I4c405c0ae02f50f03f9b4e71ebbdcd74f51e4ac8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-05Update template to the reference.Romain Forlot4-240/+252
Change-Id: I5140d5c8df51773815074b1f7dd5a9556a3e6428 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-05Update README with renamed macrosRomain Forlot1-4/+8
Change-Id: I0f2081dfc73962c9bffefc4b359aa72497fe24c7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-04Update template to the referenceRomain Forlot11-304/+262
Change-Id: I20dbf83d4de0986c0b5d9aa2322f9f2450449037 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>