File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ function(add_swift_compiler_modules_library name)
9999 ${ARGN} )
100100
101101 set (swift_compile_options
102+ "-color-diagnostics"
102103 "-Xfrontend" "-validate-tbd-against-ir=none"
103104 "-Xfrontend" "-enable-experimental-cxx-interop"
104105 "-Xfrontend" "-disable-target-os-checking"
Original file line number Diff line number Diff line change @@ -57,6 +57,10 @@ function(_add_host_swift_compile_options name)
5757
5858 target_compile_options (${name} PRIVATE $<$<COMPILE_LANGUAGE:Swift>:-target ;${SWIFT_HOST_TRIPLE} >)
5959 _add_host_variant_swift_sanitizer_flags(${name} )
60+
61+ target_compile_options (${name} PRIVATE
62+ $<$<COMPILE_LANGUAGE:Swift>:-color-diagnostics>
63+ )
6064endfunction ()
6165
6266function (_set_pure_swift_link_flags name relpath_to_lib_dir)
You can’t perform that action at this time.
0 commit comments