mirror of https://gitlab.com/ita1024/waf.git
Describe why color_gcc.py is no longer relevant
This commit is contained in:
parent
65b96e1ddd
commit
f95b42651e
|
@ -2,6 +2,9 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
# Replaces the default formatter by one which understands GCC output and colorizes it.
|
# Replaces the default formatter by one which understands GCC output and colorizes it.
|
||||||
|
#
|
||||||
|
# This is mostly obsolete as gcc/g++ provide colored outputs by default:
|
||||||
|
# CFLAGS="-fdiagnostics-color=always" CXXFLAGS="-fdiagnostics-color=always" waf configure clean build
|
||||||
|
|
||||||
__author__ = __maintainer__ = "Jérôme Carretero <cJ-waf@zougloub.eu>"
|
__author__ = __maintainer__ = "Jérôme Carretero <cJ-waf@zougloub.eu>"
|
||||||
__copyright__ = "Jérôme Carretero, 2012"
|
__copyright__ = "Jérôme Carretero, 2012"
|
||||||
|
@ -36,4 +39,3 @@ class ColorGCCFormatter(Logs.formatter):
|
||||||
|
|
||||||
def options(opt):
|
def options(opt):
|
||||||
Logs.log.handlers[0].setFormatter(ColorGCCFormatter(Logs.colors))
|
Logs.log.handlers[0].setFormatter(ColorGCCFormatter(Logs.colors))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue