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)
99
99
${ARGN} )
100
100
101
101
set (swift_compile_options
102
+ "-color-diagnostics"
102
103
"-Xfrontend" "-validate-tbd-against-ir=none"
103
104
"-Xfrontend" "-enable-experimental-cxx-interop"
104
105
"-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)
57
57
58
58
target_compile_options (${name} PRIVATE $< $< COMPILE_LANGUAGE:Swift> :-target;${SWIFT_HOST_TRIPLE} > )
59
59
_add_host_variant_swift_sanitizer_flags (${name} )
60
+
61
+ target_compile_options (${name} PRIVATE
62
+ $< $< COMPILE_LANGUAGE:Swift> :-color-diagnostics>
63
+ )
60
64
endfunction ()
61
65
62
66
function (_set_pure_swift_link_flags name relpath_to_lib_dir )
You can’t perform that action at this time.
0 commit comments