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

[cmake] Colorize output when using cmake + ninja. #674

Merged
merged 1 commit into from Jan 4, 2018

Conversation

waywardmonkeys
Copy link
Contributor

Due to how ninja runs clang and gcc, it doesn't colorize the output
like make does. This forces color output in this situation.

@ebraminio
Copy link
Collaborator

I guess it should be applied to CMAKE_C_FLAGS as we use it for some of units, and can this applied to upstream's cmake ninja generator also do you believe?

Btw, can you give us a hand on #675? I've put the command can be used for compilation, the issue is harfbuzz's cmake exporting unnecessary symbols and some static initializing things that tests that currently working fine with the output of autotools are catching them.

@ebraminio
Copy link
Collaborator

Tried to resolve the conflict and add CMAKE_C_FLAGS but seem to broke it somehow?

@waywardmonkeys
Copy link
Contributor Author

I've gone ahead and rebased this forward, added setting the C compiler flags as well and force pushed it here.

@ebraminio
Copy link
Collaborator

ebraminio commented Jan 4, 2018

Great, as a bikeshedding, please put the new part before # Test :)

Due to how ninja runs clang and gcc, it doesn't colorize the output
like make does. This forces color output in this situation.
@waywardmonkeys
Copy link
Contributor Author

Done.

@ebraminio ebraminio merged commit 4f80078 into harfbuzz:master Jan 4, 2018
@waywardmonkeys waywardmonkeys deleted the color-output-with-ninja branch Jan 21, 2018
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.

None yet

2 participants