Add: add option for forcing coloured compiler output (useful for Ninja)

This commit is contained in:
Dan Villiom Podlaski Christiansen
2020-06-04 14:38:56 +02:00
committed by Charles Pigott
parent 04c050f93e
commit 0d46e20bd4
2 changed files with 15 additions and 0 deletions

View File

@@ -48,6 +48,8 @@ function(set_options)
set(DEFAULT_OPTION_INSTALL_FHS OFF)
endif (UNIX AND NOT APPLE)
option(OPTION_FORCE_COLORED_OUTPUT "Always produce ANSI-colored output (GNU/Clang only)." OFF)
option(OPTION_DEDICATED "Build dedicated server only (no GUI)" OFF)
option(OPTION_INSTALL_FHS "Install with Filesstem Hierarchy Standard folders" ${DEFAULT_OPTION_INSTALL_FHS})
option(OPTION_USE_ASSERTS "Use assertions; leave enabled for nightlies, betas, and RCs" ON)