Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-3300

autobuild (aglwgt) ensure right flags are used per CMAKE_BUILD_TYPE

XMLWordPrintable

      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.

        # Subject Branch Project Status CR V

            scottm Scott Murray
            raquelm raquel medina
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: