question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Colorized CMake/Build output

See original GitHub issue

Executing 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:open
  • Created 5 years ago
  • Reactions:121
  • Comments:29 (8 by maintainers)

github_iconTop GitHub Comments

8reactions
nunojsacommented, Jan 9, 2020

For me, the Output Colorizer plugin from IBM is working pretty good. You might give it a try. Never tried it with CTest though…

6reactions
nunojsacommented, Nov 18, 2019

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…

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found