diff options
| author | Michael Maltese <michaeljosephmaltese@gmail.com> | 2017-04-11 17:49:35 -0700 |
|---|---|---|
| committer | Michael Maltese <michaeljosephmaltese@gmail.com> | 2017-04-11 18:00:46 -0700 |
| commit | 5b829163a388316141544fe0dcf6a58cbed551c4 (patch) | |
| tree | 01f9a6de2a7afb70080a88bf788b9b6c6ce589e6 /Source/Core/VideoBackends/Vulkan/ObjectCache.cpp | |
| parent | 29344cb5ff7cfaae08349726a092b78689c17a45 (diff) | |
CMake: turn on -fdiagnostics-color for Ninja builds
This PR attempts to turn on `-fdiagnostics-color` by default when using
the CMake Ninja generator.
Ninja effectively turns off colored messages by not running subcommands
in a pseudo-terminal. The Ninja maintainers have decided that using
pseudo-terminals has more downsides than upsides, but have helpfully
taught Ninja itself how to parse and remove color codes if its parent
isn't a (pseudo-)terminal.
Colored messages make it easier to read warnings and error messages in a
large build log, and are pretty.
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/ObjectCache.cpp')
0 files changed, 0 insertions, 0 deletions
