Age | Commit message (Collapse) | Author | Files | Lines |
|
Separate the samples files to be installed in the system doc dir which is:
- /usr/share/doc
Updating the documentation according to the new path to samples.
Change-Id: Ib1958fb87d517ad84abddf3ec71102f7ecf877f5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Link with defined project libraries dependencies by default.
This will avoid the user to have to specify this again at target level,
in addition of project level in the "config.cmake" file.
Bug-AGL: SPEC-1997
Change-Id: Ib0933a8eb9259d27c095d18a0dbb5a269d6b0369
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Make clearer the difference between build environments Yocto,
cross compile with an AGL SDK and native.
Change-Id: Id09782c8648026420fbfdbbbcf0fd1891edb7b86
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
This reverts commit 60b0f4556fb94cbd6d9bac083f561067a437d98e.
Change-Id: Id73104aa7466e6a16ec6a93842718017a2084584
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Id252624a59fffe789b93e978ef60eec2fc659055
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
At your own risks of course
Change-Id: I1b613b9801a8b031f42321367148ae469f337af2
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Using CMAKE_ROOT doesn't point to the correct path when using a cross-compilation
environment since the cmake installation directory isn't located in the same sysroot
than the targeted system.
Change-Id: If3f877c579123c5dd0b23a762c08d97755817442
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I32abe9f2ac5ea25e7902f9a1e870d16bb438d5b2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Id304c589ebe4f1e944377047ca3d462dce80dd7d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I843513718c49dcde49d2f727e5dd748c59f1f0ec
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Iec703099717e7b9e876db0e8c1ba9c450049d404
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
There is a lack in the way to find the project version when you package a project
using cmake-apps-module because there isn't git repo included in the source archive
then the git tag could not be retrieved. So this commit brings the possibility to set
the version from the command line using the argument VERSION.
Change-Id: Iba9902a2a1c61a348d719aaca85c26b3786d3620
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I1bce4a2dbc12ce6e196380c4e6b7d0b58530245f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Gives instructions in the error message.
Change-Id: I56ff89932d8222116c091e25bfa5fc3b0489d5e8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I3d0f86fe04a79ca4c3523e1675672c0ce64f24f8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Since migration to CMake module, the doc needs to be be updated
to reflect the change and get rid of all git submodule occurrences.
Change-Id: If56c50a845d01dafd6b5dcd46cac7cfb2be76e85
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Process distro specifics cmake files before app-template
To be sure that everything is set up before calling the app-templates mechanism that
will search and process libraries dependencies etc.
Change-Id: Icaca4cf4130e60d56d045e5a07e40163bb3c2bb5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I70d30588c59e6a0d3c451c74fc6cc565b5eea167
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
|
|
This update the autobuild script generated by the CMakeAfbTemplates
module making clearer build dir variable and change the way to build
using the classic way with cmake .. ; make etc.
Remove also an intermediate target that wasn't needed.
Change the directory where the autobuild script is generated.
Added a README instruction about the autobuild script coming from the
SPEC-495 description
Change-Id: I24905b348adbdba2dca5ffa146812461a4030690
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Adds the config.xml file and the test launcher script in the widget when
built using the test_widget target. Without config.xml file the widget
can't be installed.
Change-Id: Iaedfcef49ae0d6748e55f6fa5e07d373124ed078
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Ib9a826842d9ce88e27eb564fd9fee9725c161ed2
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
The widget launcher script has been modified to use the environment
variable VERBSELECTED and VERBARGS. Then you are able to select a test set
defined by the testVerb configuration section in your JSON configuration file.
You can also use the special argument {'lavaOutput': true} to enable specials
Lava markers on the output.
Change-Id: If677cbbc8cb6cf6eb1bdf9f76b83f5e7976dd5a5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
The module expect that a library built without specifying any prefix to the
target will then have no prefix but cmake set it to "lib" by default. So we
need to adjust the expected lib file name expected in the module.
Change-Id: I6feaa6c5ff9efd9a06ac90a515e6e454b6d90421
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I2f14f0304a5f40ddb146d779bc5c3aad94d872b6
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
By default, the test widget is built using a cmake option, this commit adds
the ability to use makefile target to build it.
Change-Id: I2691c7e4549190bd7594387eacf6cb8344ecf9c1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Switch to -O0 compile option to allow more accurate coverage reports
that function inlining and OOO execution can skew.
Bug-AGL: SPEC-1807
Change-Id: If3ea7e9fe931ac9087d4c4966d0b3ca77308eaf7
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Improved test widget launcher script which calls verb
synchronously and therefore we can correctly detect the end
of the test session and exit.
Change-Id: I66e404cfe1a25f1986bc722572efa93979d43bc2
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
set default link flags to the target property for binding target.
Change-Id: I12387d310abd993a5a3861f04c7bc0cef941d2b7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I2c71f5cd1bbfa6d6e2d2c48aaf004b24811dbee1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
- Changes PATH to find correctly all cmake files.
- Clean useless code now it's integrated as CMake module
- Clean variable usage
- Create module entry point
Bugs-AGL: SPEC-1682
Change-Id: I6943129677603b786c7144a92880d82795a916cd
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I20eb2c342e33d838b9f8c80b7ec93c32794b4eeb
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
Missing link option because of a wrong test against
CMAKE_BUILD_TYPE value.
Change-Id: I3b0a4cb090f4c53df8868a5f757a11f6046b3e3e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
-Split book.json in 2.
-Deleted unwanted files.
Change-Id: Idaa2bc838917cade2b3ff1848e21415acae72aec
Signed-off-by: CorentinLGS <corentinlgs@gmail.com>
|
|
Change-Id: If1c1e14233a765058a372fc25a88b21e8824f4d7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I3a27495d637960699d34e972aae2cd1655d6a6da
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
This implies to much side effects over a complete AGL image
build. So it's better to not affect the CMAKE_BUILD_TYPE variable
to determine wether or not the test WGT file is generated.
Change-Id: I77e8bdb085d164a4dd387ac48c425c011840473b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Id2a2ede0f01bfc48757904f43b01e52a1c8b110d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
This changes the default build type to RELEASE as it would
be built using Yocto. Debug build should be activated if needed
temporary as the other type: coverage and profiling.
Doing this you are able to detect compilation error that would happens
when building with Yocto and if you need to debug your program you only
need to recompile changing temporary the build type to DEBUG.
Bugs-AGL: SPEC-1644
Change-Id: I1823509a1a48415d3d440dd84d1e43ef48736ebe
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
This checks if there is a target with a TEST LABELS property which
would indicate that there is something to pack in the test widget,
else it would generate an empty and useless test widget.
Change-Id: If2a3eb32762f5d62877ea19faed70d4b6e68a0a0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
You may need everything except for a binding since the
afb-test binding offers the possibility to emulate other
Apis. Or you can rely on platform binding if needed but
developping bindings only used for testing purpose isn't
a good solution and should be avoided.
Change-Id: I39e1a43bbe4d73b36f0155913125f0df837d2ec5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Icebe1850e5949c277722ac83958f73c0eed493c7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
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>
|
|
Add a new LABELS "BINDINGV3" to handle the v3 case. This implies
the same things than for v2 but generates the API definition using
the new version capabilities through afb-genskel tool.
Change-Id: Ib7b60f3f79c3634f27c90b2f9bf4aaf5b3ef2fcb
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Also use zip host command instead of embedded CMake zip command
which could not be unzipped on a board. Using the host zip command
it allows to build the wgt file as a zip archive but it can't be
installed using afm-util like a real widget file but could still be
unzipped manually.
Change-Id: I5e13c27164294d99de1918df8d84cb04fc439317
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>
|