Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
Qt Creator 4.13.0
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)