Jon Turney
2ed875e1b4
Consolidate warning location formatting in mlog.warning()
...
Also use .format() rather than %
Also use build.environment rather than hardcoding 'meson.build'
7 years ago
Joergen Ibsen
1db319737d
Enable ANSI colors on Windows when ANSICON is set
...
This enables colors with ConEmu.
7 years ago
Nirbheek Chauhan
f04d141088
logging: Print location of log file on error
...
Similar to configure
Closes https://github.com/mesonbuild/meson/issues/2316
7 years ago
Jussi Pakkanen
c2a5ac3981
Ensure log file gets closed.
7 years ago
Aaron Small
76c8491d77
Add an option to dependencies called 'method'. This can be used to
...
configure a detection method, for those types of dependencies that have
more than one means of detection.
The default detection methods are unchanged if 'method' is not
specified, and all dependencies support the method 'auto', which is the
same as not specifying a method.
The dependencies which do support multiple detection methods
additionally support other values, depending on the dependency.
8 years ago
Michal Sojka
1713aef364
Do not colorize output on dumb terminals
...
Dumb terminal is provided e.g. by Emacs for programs run within it.
8 years ago
Jussi Pakkanen
a7609e76f6
Graceful fallback when printing messages with characters not understood by stdout.
8 years ago
Jussi Pakkanen
a61e41b1d2
Force log file to UTF-8.
8 years ago
Mike Sinkovsky
969be1f679
cleanup: Remove redundant parentheses
8 years ago
Nirbheek Chauhan
a2262103fb
Implement mlog.warning and use it everywhere for warnings
...
Prepends the string with 'WARNING:' in ANSI yellow.
Closes https://github.com/mesonbuild/meson/issues/961
8 years ago
Jussi Pakkanen
436eab9b85
Print full mesonlog on failed tests when run under CI.
9 years ago
Jussi Pakkanen
23b98cd6e6
Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir.
9 years ago
Jussi Pakkanen
8b1039fa30
Organise files into a module structure.
9 years ago
Jussi Pakkanen
cf0bd77ddd
Do not invoke linker via cmd /c on Windows.
10 years ago
Jussi Pakkanen
525f0ae6d2
Harmonised copyright declarations.
10 years ago
Jussi Pakkanen
c4860ff60f
Updated copyright years.
10 years ago
Jussi Pakkanen
a5863477f8
Kill end of line whitespace dead.
10 years ago
Jussi Pakkanen
cf212c16f5
Added debug logging path.
11 years ago
Jussi Pakkanen
bbc3664028
Moved some print functions to logging.
12 years ago
Jussi Pakkanen
7e3d951882
Output to console and log file.
12 years ago
Jussi Pakkanen
f7a28ed9c8
Started work on basic color logging framework.
12 years ago