Provide a way to customize the error location format in the command line output to support source navigation for more editors.
Many editors have a feature that allows navigating to a problematic line in a source file when double-clicking on the error message in the output window. Visual Studio would be an example of such an editor. Sadly the errors issued by cmake do not have a format that is recognized by Visual Studio.
So it would be awsome if cmake provided a way to customize the format of error messages to enable the navigation feature in other editors.
Current Error Format:
CMake Error at documentation/CMakeLists.txt:26: ...
Customized Error Format for Visual Studio:
C:/MyProject/documentation/CMakeLists.txt(26): CMake Error ...
Edited by Knitschi