-
Bug
-
Resolution: Fixed
-
Minor
-
master
Various built types are enabled as per SPEC-2049 (e.g., test, debug, coverage) on autobuild scripts. In the case of projects using cmake, the build type selected on autobuild scripts link CMAKE_BUILD_TYPE to the appropriate build arguments and flags defined by CMakeAfbTemplates module for cmake; however when looking into the the CMakeOutput.log generated file it seems like the flags are not correctly set. As an example, for low-can-demo project, the CMakeOutput.log file for coverage build is attached.
In the case of coverage build the compile flags defined by the CMakeAfbTemplates script are 'g -O0 - coverage'), however these flags are not the ones used in the build according to the CMakeOutput.log file.