summaryrefslogtreecommitdiffstats
path: root/cmake
AgeCommit message (Collapse)AuthorFilesLines
2017-09-14Handle controller plugin populate and installRomain Forlot1-7/+16
Change-Id: Ib48817e4634990b6369de29ce81fa86354d73652 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-12Clearer output when checking data fileRomain Forlot1-3/+3
Change-Id: I942b11b460c15618cc3c6a731f588d7a8b91abcf Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-12Don't fails if data files checker not found.Romain Forlot1-3/+3
Change-Id: If28a37406175dc318c3ed62153e3276f2eb77525 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-01Copying content not the directory.Romain Forlot1-1/+1
Change-Id: I3d221379459ff5451b6933fac2383c8c3797d0d3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-30Disabling packaging target. To be externalizedRomain Forlot2-98/+98
Change-Id: I4ff1c05eae2a8542f1ad002acc6bf0d4a7ff72d6 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-30Added populate binding config filesRomain Forlot1-0/+16
Change-Id: I9fd0ccd917c0fbbfe67910a169001c85220a78c0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-29Fix: wrong OS detection when SDK env or YoctoRomain Forlot2-11/+11
Change-Id: Iece230f0708129ea5980c61dae2d2cb66d32e7eb Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-28Dirty fix to handle distro specific packages depsRomain Forlot3-39/+27
Could include first distro specific file to be able to modify variable from config.cmake and then process classic submodule cmake files. Change-Id: Id5dad2504d44c86cb165ad56f5314e9c0c545f0b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-28Fix pkgconfig parsing resultRonan Le Martret1-1/+1
Change-Id: I1d278188126baae20ef6890ea140b2136f1a09f0 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-08-28Fix deb packaging pkgconfig dependencyRonan Le Martret1-1/+1
* dpkg must be use to find the package whose provides the .pc file Change-Id: I475559264c5dd1116e773a6842889cfd230917a0 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-08-26Fix: output msg if build fail on remote populateRomain Forlot1-1/+6
Change-Id: Id0ee4805854181dab1885af42f9c9f4603ad796f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-25add_input_target targets built by defaultRomain Forlot1-1/+1
Adding to 'all' target Change-Id: I3b4696ced961a5ccc6a35cbb1ab64cbd489af45b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-25Generic default CLOSING_MESSAGE in sample configRomain Forlot2-11/+2
Change-Id: I6886b4d7844e208f3f996418d9658567e8d8f135 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-25IndentRomain Forlot1-23/+23
Change-Id: Ie333025c5f68c5121a4445308858441e60b17696 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-25Comment apparently uneeded section.Romain Forlot1-6/+9
Let's see if used. Change-Id: Iaa5cf37f0a7964e797cdc99c9d7bdbb93f8b54e4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-24Change luac option to do only syntax checkingRomain Forlot1-1/+1
Change-Id: I20769279e08927d0a9d8bfbbc2691719e7a5475a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-24Fix: use of filter in Cmake 3.5Romain Forlot1-3/+6
Need using a variable for regex... Change-Id: Ie5b050a3588dec10d0cc4365aa7272a90f10eb30 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-24Fix: mistapedRomain Forlot1-1/+1
Change-Id: I6252ed2ed8defaba8d848ce0d500a8a83be4cd90 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-24Fix: luac invokation failed.Romain Forlot1-1/+1
Wrong way to use command argument in cmake variable Change-Id: I9a334a509d109d9243c7e8211a686757821fcb30 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-24Workaround to bugged list filter backport functionRomain Forlot1-6/+13
Change-Id: I520bcb09add89567083f0c06bde92dae08206c50 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-23Fix: wrong variable detectionRomain Forlot1-1/+1
Change-Id: Idc736c60f51e20640476202996121eefef8b8210 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-23OS detection to fallback instead of additionRomain Forlot1-1/+5
Instead of include a default cmake file in addition of the others, use it as fallback if any other cmake file doesn't match Change-Id: Ib46e0e64a5f485dcad4e41f092936484da83b7f4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-23Enhances OS detection with Yocto and SDKRomain Forlot1-18/+22
Change-Id: I27f70c3ef9f16d918353e00c0535351bd738df82 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-23Format: Remove spaces at EOLRomain Forlot1-1/+1
Change-Id: If16b9cd45e5955b8ca8049fee1ea97a9d43d5cb7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-22Better OS detection.Romain Forlot1-5/+6
Only take ID_LIKE field if it exists else ID. Doing some stripping also to get a cleaner output variable Change-Id: If5c44bf21c3435bd4739cfd34190a81d28dd10d3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-21Add macros to make a 2nd pass on required moduleRomain Forlot2-1/+9
Useful when adding module dependant of distro as they do not named their packages the same way... Change-Id: I0422ce4cdad48f9e815d24510376ad11941d5e3d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-21Better OS detection and inclusion per distributionRomain Forlot2-6/+15
Change-Id: I6f479353df990eb2ff9030b7427d48bb72f0416f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-21Don't output compiled lua file when checked.Romain Forlot1-1/+1
Change-Id: I062bbb8c1342f189406ac1295baa5fb6e7c5eb1a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-20Install automatically managed for populate targetsRomain Forlot1-88/+99
All populated targets will install in CMAKE_INSTALL_PREFIX/PROJECT_NAME Change-Id: I37df0c6dfde34a04e515e70b06f56929bd76c51a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-20Fix: BINDINGV2 target not populatedRomain Forlot1-7/+9
Miss dependencies... Change-Id: Ief8a5c764a6a36c042eebbd66b83f12e2f08b36a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-18Better handling icon&config.xml to build widgetRomain Forlot2-11/+14
Default value set Change-Id: Ie1370ff9e89bb80044fc847b4cf37ba19314ecc1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-18Cleaning, formatRomain Forlot1-5/+5
Change-Id: I0328f500867636bf13289bc2a9d7f8d5a9f7e060 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-18Duplicate variable meant to set installation dirRomain Forlot1-8/+0
Remove BINDING_INSTALL_PREFIX variable Change-Id: Ia5be7f18a66b3667f03edb265caccc515e0490b2 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-18Make CMake minimal version to at least v3.5Romain Forlot1-3/+81
Backport list(filter cmake subcommand as macro Change-Id: I7736e18ee2618e1977dd968636be84afc31bcc88 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-18Remove JSON checker not suitable for schema checkRomain Forlot1-2/+3
Change-Id: Iba8dcd35290ab43ffc3aeaeb91cf40b6af1268b8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-17Added per project custom template dirRomain Forlot1-0/+1
Change-Id: I5175b45a0d493724492157af2d32f4e51a04665f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-17Fix: missing dev pkg files error. Now well checkedRomain Forlot1-4/+7
Change-Id: I2c429322990f5a4f0ba192c49502026f4b37dd1d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-16Personal files inclusion now by projects.Romain Forlot2-13/+39
Depending on file name you can include some files from your home or system by project or globally Change-Id: I1fef678073977633576a21893065e681b286646c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-16Fix new arboRomain Forlot2-5/+5
Wrong path to the scripts Change-Id: I0cc0cf9aaa374b5e130008c65f590cee458a7f39 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-16Reorganization between variables/build optionsRomain Forlot4-38/+39
Move compilation/link option to build options and all custom variables stuff in variable file. Make build options as first file to be included then all custom stuff. Change-Id: I530268574745edcc414e29cac59eb542954d73cc Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-16Avoid wrong OPENAPI_DEF variable definitionRomain Forlot1-0/+6
Change-Id: I6b38cc6af5a3cb5b86b445149345cd65082ccc8b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-16Better handling of iconsRomain Forlot1-5/+15
Use custom icon if needed or default one if none Change-Id: Ieaa096e3bf40f202e5204dbb48a977edc074d24b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-16Ease standard target DATA and HTDOCS creationRomain Forlot2-0/+26
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>
2017-08-16Extending pluggable arch for templatesRomain Forlot5-225/+34
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>
2017-08-11Be able to choose openAPI definition file name.Romain Forlot1-6/+17
Use a variable OPENAPI_DEF to define the file name else use the default convention ${OUTPUT_NAME}-apidef. Update the docs in consequence. Change-Id: Ibc29d6079d185e47a80dbfe4df5dedd28f7f63c4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-10Fix: make install double files in build dir.Romain Forlot1-2/+2
Default install prefix to /usr/local then. Change-Id: I6c53e3055a3a9f7d44d24480695014b1c9a435ae Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-10Fix: wrong link libraries dependencies var nameRomain Forlot1-2/+2
Change-Id: Idbdb781c0cb7ab9a6df4b821868587bfaa8e3c2f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-10Change compilation flags setup.Romain Forlot2-25/+47
Use CMAKE cache variables other than defaults ones to don't be in conflict and iterates over them with add_compile_options command Change-Id: I5e62ab1a340aca15eafeb687998c06e13a571357 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-09Generate .h from OpenAPI json description fileRomain Forlot1-1/+14
Use a new label BINDINGV2 that create a new target ${TARGET}_GENSKEL before build ${TARGET}. Change-Id: I358e65f0340ac051217cb19a4554f6165af061df Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-08No optimization in DEBUG build configurationRomain Forlot1-1/+0
Optimization complicate debugging. Change-Id: Ib000c36fd599b544ef96be9de35527baecf022e3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>