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

autobuild (aglwgt) ensure right flags are used per CMAKE_BUILD_TYPE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: master
    • Fix Version/s: None
    • Component/s: Build and Tools
    • Labels:
      None

      Description

      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.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

              Created:
              Updated: