Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24559

[cmake] certain status messages are identified as error

    XMLWordPrintable

Details

    Description

      my cmake build system contains status messages like this:

      message(STATUS "a foo.bar directory: /some/devious/path"

      actually in the real world it comes from conan, which generates a conanbuildinfo.cmake file with:

       

      conan_message(STATUS "Current conanbuildinfo.cmake directory: " ${_CONAN_CURRENT_DIR})
      

       

      when cmake regenerates the projects during the build (e.g. when a cmake file has been modified), two issues can be observed:

      • the "compile output" pane will color this line in red
      • the "issues" pane lists these lines as errors

      i suppose there is some kind of heuristics to identify which lines are (compiler) errors, but i wonder if they can be relaxed (possibly even having a specific exception for this `conanbuildinfo.cmake` line)

      Attachments

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

        Activity

          People

            timblechmann tim blechmann
            timblechmann tim blechmann
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes