Change default compilation options. 87/16087/3
authorRomain Forlot <romain.forlot@iot.bzh>
Thu, 9 Aug 2018 09:51:05 +0000 (11:51 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Mon, 13 Aug 2018 08:25:29 +0000 (08:25 +0000)
commit994ebc1ca22fad1f0f302da02171d935eefa4a8a
treeac73c26befc886d0f1f5d9a8cc0b7ba197674684
parent85d5ffd288a652481c801799a0895f2fcb5de323
Change default compilation options.

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>
cmake/cmake.d/01-build_options.cmake
samples.d/config.cmake.sample