summaryrefslogtreecommitdiffstats
path: root/cmake/common.cmake
AgeCommit message (Collapse)AuthorFilesLines
2017-06-26Check Kernel version against SDK env or Host env.Romain Forlot1-5/+19
This use Kernel header version.h to determine which is the current kernel version use to develop the project Change-Id: I0a654a5a0fc89543fa3d855c7adc6d319dd0b53c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-26Split common files into specialized cmake files.Romain Forlot1-467/+7
Change-Id: I5c920f78c583a6a4eaeb53146413c35c640b4bbb Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-21Configure file at build time with separated targetRomain Forlot1-67/+100
Change-Id: I0464897b830e926bb173c9b80ef7682ff47ecb5b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-06-20Update packaging creationRonan Le Martret1-22/+120
* update rpm creation * add deb packaging Change-Id: Idc1623b7b0ca72d4842e59f9495fc26c487ef008 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-06-15Fix: remove old bug about overwriten variables.Romain Forlot1-2/+0
Change-Id: I81a6d9f68c04ad309ac023a1aa2257b83393bcb9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-15Fix gdb debugging and add widget install on targetSebastien Douheret1-8/+27
Change-Id: I67698bbbfa626e55cbe382afd7e9c5eb699f6149 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-06-13Merge "Replace LIBRARIES by LDFLAGS for pkgconfig dep"Romain Forlot1-1/+1
2017-06-12Fix:WIDGET_ENTRY_POINT variable always overwrittenRomain Forlot1-4/+6
Change-Id: I429676174add205d60b9cd0d03f091f2533a5182 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-12Fix wrong path to submodule files.Romain Forlot1-2/+0
Change-Id: Ic28656d1e662b639ea84d052dbf48876c7ed7737 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-12Replace LIBRARIES by LDFLAGS for pkgconfig depRonan Le Martret1-1/+1
XXX_LIBRARIES provide the lib name, LDFLAGS lib name and path. Change-Id: Iad84a450e2a0876e8c9d284408a43f472e1f275f Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-06-12Merge "Set default value for APP_TEMPLATES_DIR and WIDGET_ENTRY_POINT"Jan-Simon Moeller1-5/+12
2017-06-09Don't ship config.xml to packaging dir. UselessRomain Forlot1-1/+0
Change-Id: I1d5daebf7870e372d615c4f39e2a538a6590d189 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-09Set default value for APP_TEMPLATES_DIR and WIDGET_ENTRY_POINTSebastien Douheret1-5/+12
Change-Id: I275373636bfa4e33e0c82ff934971ee17501bfe1 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-06-09Remove spec file from package tree.Romain Forlot1-1/+1
Change-Id: I1cca6118dc07efe15f408b222980fecf6ad0d125 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-09Added a target to build an archive from git repoRomain Forlot1-1/+8
Change-Id: If6f491f7bf8e3e7a29b9c9db369126dc550318c3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-09Fix: cli CMAKE_INSTALL_PREFIX variable ignoredRomain Forlot1-1/+1
Don't overwrite CMAKE_INSTALL_PREFIX Change-Id: Ie4b0a6dde2b59fee6704369b6fe66a1390c4a092 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-09cmake: add WIDGET_CONFIG_TEMPLATE setting to specify location for config.xml.inStephane Desneux1-4/+10
Change-Id: I285196388c12145b6b049af692a7a67c03aaba24 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-06-08common.cmake: fix icon copy and final name in packageStephane Desneux1-1/+2
Change-Id: I6791a0e0de9e8f3d3b540550f9dfe9c06821f4ae Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-06-07fix local rpm buildRonan Le Martret1-1/+2
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-05-29DescriptionRomain Forlot1-2/+2
Change-Id: I81f684b829d612fb58330cf0aeaca5e1097e3b4b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-29Trick to always execute popule http and data dirRomain Forlot1-4/+6
This will fake cmake to make it believe that the output produced by custom_command never exists so it have to re execute the command... Change-Id: I3836510d5c522b8f23991669eb07b08bf17aba5f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-29FormatRomain Forlot1-7/+7
Change-Id: I5197065ea620cee4accca7e097df9a49b796c671 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-29Overload CMAKE_INSTALL_PREFIX if custom definedRomain Forlot1-1/+7
Change-Id: I327d6af1862b4732f91d78abe26c7ffd6d2fbe51 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-29Always configure files to build widget.Romain Forlot1-6/+0
Change-Id: I78ff4d6333dcbb6786d5618a27b89ac9cd9e9ebc Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-29Use FATAL_ERROR if missing file to build packagesRomain Forlot1-41/+45
Change-Id: I5d1b0abf5447fdf9938d4c4d4b7ad0d921cf27a0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-29Renamed variables to avoid confusingRomain Forlot1-10/+12
Change-Id: Iddd9215f45001c3ed515e601e7ef2ba73161a703 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-29Add missing macro used in building RPM spec fileRomain Forlot1-0/+4
Change-Id: I4058a9fc101b7aea0343a68557a2e5b76ec827f2 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-28Fix missing variable use for remote debugRomain Forlot1-0/+3
Change-Id: I73a3c490e9abe780a79ac24fbfc838e5bd18eade Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-28Adding colors in output messages.Romain Forlot1-2/+2
Change-Id: Iad429f66156468098d8e7798c5cabed2481b92a4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-28Fix:use first optional argument in adding subdir macroRomain Forlot1-3/+5
Change-Id: Id09128836df86ade96036359e125e4ce4f23a124 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-24Fix: rsync / on target.Romain Forlot1-1/+1
Populate target with the correct path. Change-Id: I25df58cbc14ca2e0d20450a6be97c635f9c2a4b3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-24Fix: hardcoded pathRomain Forlot1-2/+2
Change-Id: I882f7f69b3577a779266c5347c25ee6d7ab52377 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-24Fix: variable coherenceRomain Forlot1-5/+5
Change-Id: Ie7c073e0df0e19b31e210cb02d628bde864d11de Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-24Added possibility to check linux kernel versionRomain Forlot1-1/+9
Change-Id: I212e1a5a2dc16c6cc2eb78523dbf9496d9da234a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-24Missing variable and target callRomain Forlot1-0/+5
Change-Id: If0dbac632f45ecbb122a68bea18fb6e9645b86e7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-05-24Get back to last folder structure (more or less)Romain Forlot1-0/+372
Change-Id: I2993ec9ca8f4ed73e1dfc9fb6caf554bfc0ac871 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>