Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable cmake color output for clang/ninja #1287

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

janbridley
Copy link
Contributor

@janbridley janbridley commented Oct 25, 2024

As in ninja-build/Ninja's FAQ, cmake does not color output for build systems that buffer output. The code added in this PR fixes this

How Has This Been Tested?

CMake colors output with the changes made, and does not without.

Before:
image

After:
image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds or improves functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation improvement (updates to user guides, docstrings, or developer docs)

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • I have updated the documentation (if relevant).
  • I have added tests that cover my changes (if relevant).
  • All new and existing tests passed.
  • I have updated the credits.
  • I have updated the Changelog.

@janbridley janbridley marked this pull request as ready for review October 25, 2024 16:58
@janbridley janbridley requested a review from a team as a code owner October 25, 2024 16:58
@janbridley janbridley requested review from Lina492375qW1188 and joaander and removed request for a team October 25, 2024 16:58
@janbridley janbridley self-assigned this Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant