Age | Commit message (Collapse) | Author | Files | Lines |
|
Create a test widget in addition of the normal one when you use
any build type except of RELEASE. This widget will only
provide the test files (configuration + test + fixtures ...).
It joins the test framework binding to your binding or app then
you only have to access to your defined test API and launch the
tests.
The entry point is a bash script which is in charge to launch all
tests it finds.
Change-Id: I8f4a670f17fd4e4319c53a861074fb5e10b63aad
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Use of '&' in CLOSING_MESSAGE is incorrectly interpreted by cmake
which tries to launch the afb-daemon when using the autobuild script.
This is not a problem since the build is finished but that produces
unwanted warning messages.
Change-Id: I910538c80539bbe6ec63cf42a7642506821bb33b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Also remove an unused variable.
Change-Id: Idd6b67b5d302dd489dd15797355507a08912206d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Ie46fe389c22dabb4bc7081be4dcafb2fc37a6951
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Following change ID 1ec753146f, CMAKE_INSTALL_PREFIX has been
replaced by INSTALL_PREFIX. So differ CMAKE_PREFIX_PATH and
LD_LIBRARY_PATH setting in 03-macros in order to be sure that
CMAKE_INSTALL_PREFIX has been set correctly.
Change-Id: I6effcaaab658fd24c929cd4a30fa38ad8f4df145
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
If not defined using CLI CMake set the variable CMAKE_BUILD_TYPE
to an empty value. As it is a CACHE variable it can't be
overwritten except if you force it. This fix setting this variable
the first defined value wins:
CLI > Config.cmake > Default value (DEBUG)
Change-Id: I7ff3c9063febf71b898fa7f19058ce2fb25fae01
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
This is done to be able to overwite from CLI those variables.
CMAKE_INSTALL_PREFIX is a special case since it is set by default
to '/usr/local' at CMake invocation. So overwriting by CLI is fine
but set it up using config.cmake file not. So since CMake v3.7 there
is a variable to know if this variable has been set by default or not.
Change-Id: I60c5161fa9a4134d100ef709d0966d599871ad44
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
The dependency to libsystemd isn't strictly required.
Change-Id: I763e6a8d63af921c25c8dfdfb2d2021671dfd9d2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The dependency to libmlicrohttpd is a fake. Just remove it!
Change-Id: I511acc0ea9207aa973aac28fe02b1262ad8a47c2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Added this option, to match the given ones when building
from yocto with bitbake.
Also fixed the sample example, and some copy-paste issues
on build targets (RELEASE/DEBUG/PROFILING/CCOV).
Change-Id: I759305e54d427e6763f32b1a86207fe35add1b3f
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
This will ensure we are to be able to correctly debug
with GDB. Indeed workdir afb-daemon parameter need to be
set at the current dir to correctly retrieve source files
path for GDB
Change-Id: Ib59e80ec48314d5d58e033d894314d0bd676fb85
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I5b1f48d2ad70bb5903e13e1df76d523ee12a52b1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
No needs to force CMAKE build type to debug as
it's the default. Only kept for convenience if
needed to specify other build type.
Change-Id: Idf88f09eebf6ab4defe070b7df23ebf769861c63
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I63ad812fc69c0ac38db0b16af405614fa68f6d54
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Include a new options calling afb-genskel depending on
PROJECT_LANGUAGES variable
Change-Id: Id7719b399eac58f0ced54a49e09350a587e4e997
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Bug-AGL: SPEC-1117
Change-Id: I36ba8047c3dc722c6c99ecbd90e14d5d717cb808
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
PROJECT_VERSION could be detected if project is located in AGL gerrit repo
or with personal tags when in personal repository
This version is checked against app-templates version which is
aligned on AGL tags.
A warning is displayed if app-templates version is outdated related to
project_version.
Also a "dirty" flag is appended to the project version if
git repo isn't in sync with its remote counterpart. Then you could
know if see an installed widget on a target that got that "-dirty"
flag appended to the version that this widget include code that could
not be merged in the git repository.
Bug-AGL: SPEC-951
Change-Id: I99687560d19d746c887fc7a095e71407bda34325
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I22b52611dab0be6021b08d6c6d63bc369df0b4d4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I6886b4d7844e208f3f996418d9658567e8d8f135
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: If16b9cd45e5955b8ca8049fee1ea97a9d43d5cb7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I6683ac65ea12d697b29adf6d7af1d6939102867d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Default value set
Change-Id: Ie1370ff9e89bb80044fc847b4cf37ba19314ecc1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I0328f500867636bf13289bc2a9d7f8d5a9f7e060
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Remove BINDING_INSTALL_PREFIX variable
Change-Id: Ia5be7f18a66b3667f03edb265caccc515e0490b2
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Use custom icon if needed or default one if none
Change-Id: Ieaa096e3bf40f202e5204dbb48a977edc074d24b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
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>
|
|
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>
|