mirror of https://github.com/GNOME/gimp.git
gitlab-ci, meson: Enable colored Clang output
This makes easier to spot warnings.
This commit is contained in:
parent
fa26f20e9f
commit
0f42555484
|
@ -102,6 +102,8 @@ variables:
|
||||||
# CI-wide Debian variables
|
# CI-wide Debian variables
|
||||||
ARTIFACTS_SUFFIX: "-x64"
|
ARTIFACTS_SUFFIX: "-x64"
|
||||||
GIMP_PREFIX: "${CI_PROJECT_DIR}/_install${ARTIFACTS_SUFFIX}"
|
GIMP_PREFIX: "${CI_PROJECT_DIR}/_install${ARTIFACTS_SUFFIX}"
|
||||||
|
# Enable colorful output when supported (e.g. ninja, cppcheck)
|
||||||
|
CLICOLOR_FORCE: "1"
|
||||||
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
|
|
|
@ -289,10 +289,14 @@ if platform_windows and cc.get_id() == 'gcc'
|
||||||
compiler_args += msvc_compat_args
|
compiler_args += msvc_compat_args
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Optimize DWARF symbols to Dr. Mingw
|
|
||||||
# https://github.com/jrfonseca/drmingw/issues/42
|
|
||||||
if platform_windows and cc.get_id() == 'clang'
|
if platform_windows and cc.get_id() == 'clang'
|
||||||
|
# Optimize DWARF symbols to Dr. Mingw
|
||||||
|
# https://github.com/jrfonseca/drmingw/issues/42
|
||||||
compiler_args += '-gdwarf-aranges'
|
compiler_args += '-gdwarf-aranges'
|
||||||
|
# Workaround to get colored output
|
||||||
|
# https://github.com/msys2/MINGW-packages/issues/2988
|
||||||
|
compiler_args += '-fansi-escape-codes'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Generate .pdb (CodeView) debug symbols (makes possible to debug with DIA SDK)
|
# Generate .pdb (CodeView) debug symbols (makes possible to debug with DIA SDK)
|
||||||
|
|
Loading…
Reference in New Issue