summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-12-13 01:44:29 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-12-13 01:44:29 +0100
commitaf0d85d8d44928ad8e5616a6abce90f37e07378e (patch)
tree58fc0e6a23f1f7309ff40abe673af6388ef3813d
parent94c8cf69266f369cf9d43111d044f4d2b5d48e6d (diff)
cmake: try to fix clang color output
-rw-r--r--userconfig-sthalik@Windows-Clang.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/userconfig-sthalik@Windows-Clang.cmake b/userconfig-sthalik@Windows-Clang.cmake
index 8f70fb28..b8d20dfa 100644
--- a/userconfig-sthalik@Windows-Clang.cmake
+++ b/userconfig-sthalik@Windows-Clang.cmake
@@ -43,6 +43,7 @@ sets(STRING
CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}"
)
+add_compile_options(-fansi-escape-codes)
add_compile_options(-Xclang -fcolor-diagnostics -fdiagnostics-color=always)
if(NOT CMAKE_CXX_COMPILER_VERSION LESS "18.0")
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-fassume-nothrow-exception-dtor>)