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: No ANSI colored output when using CMake + Ninja #1596

Open
maxrdz opened this issue Jan 18, 2024 · 0 comments · May be fixed by #1597
Open

CMake: No ANSI colored output when using CMake + Ninja #1596

maxrdz opened this issue Jan 18, 2024 · 0 comments · May be fixed by #1597
Labels
build Issues related to build system enhancement

Comments

@maxrdz
Copy link
Contributor

maxrdz commented Jan 18, 2024

Description

Linux users are recommended to run cmake -G Ninja .. when generating the build files for Panda through CMake. When using Ninja, no color output is shown on the terminal making it hard to read / debug compiler messages. Ninja buffers output, so tools are writing to a pipe, not directly to the terminal, so auto-detection may turn color diagnostics off conservatively.

Steps to Reproduce

Use Ninja as your CMake generator.

Environment

  • Operating system: Arch Linux
  • System architecture: x86_64
  • Panda3D version: 1.10.14
  • Installation method: source
  • Python version (if using Python): N/A
  • Compiler (if using C++): GCC
@maxrdz maxrdz linked a pull request Jan 18, 2024 that will close this issue
6 tasks
@rdb rdb added enhancement build Issues related to build system labels Jan 23, 2024
@rdb rdb linked a pull request Jan 23, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues related to build system enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants