Colorized CMake/Build output
See original GitHub issueExecuting CMake or the build command in a terminal shows it nicely formated with bold and colors. Is there anything that this extension can do to support this? Currently all output goes to the output
pane which shows just Black&White output which makes it hard to read.
I’ve seen that task output is redirected to the terminal pane which does support coloring (since a bit ago), could this extension support this too? Or is there another option?
This might also be worth noting in the FAQ.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:121
- Comments:29 (8 by maintainers)
Top Results From Across the Web
How to make colorized message() with CMake? - Stack Overflow
txt which output colorized text. Maybe an escape sequence. For example: message("\x1b[31m;This text must be in red").
Read more >[Question] How to colorize the output? : r/cmake - Reddit
The first is enabling colors in the build-tool. For GCC, the desired option is -fdiagnostics-color ( =always is implied). CMake has a way...
Read more >CMAKE_COLOR_MAKEFILE — CMake 3.0.2 Documentation
Enables color output when using the Makefile generator. When enabled, the generated Makefiles will produce colored output. Default is ON.
Read more >Add color to Ninja output like with CMAKE_COLOR_MAKEFILE
However, with the Ninja generator there is no such option, and CMake doesn't emit any color: the output is much harder to read...
Read more >CMake/Clang/GCC output coloring : CPP-600 - YouTrack
Maxim Babenko This is strange, what about CMake? Both CMake and Clang by default produce colored output. Maybe they are disabled explicitly, as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For me, the Output Colorizer plugin from IBM is working pretty good. You might give it a try. Never tried it with CTest though…
This would be a really nice thing to add. Right now, I just prefer to do ctrl + j , go to the terminal and just type make manually to have the colorized build…