This commit is contained in:
Yuhang Zhao 2023-06-19 17:59:01 +08:00
parent db8b03ff86
commit 3d3b77f016
1 changed files with 1 additions and 1 deletions

View File

@ -717,7 +717,7 @@ function(setup_compile_params)
/Zc:dllexportInlines- # Do not export inline member functions. This is similar to "-fvisibility-inlines-hidden".
/Zc:char8_t /Zc:sizedDealloc /Zc:strictStrings /Zc:threadSafeInit /Zc:trigraphs /Zc:twoPhase
/clang:-mcx16 # Needed by _InterlockedCompareExchange128() from CPP/WinRT.
$<$<NOT:$<CONFIG:Debug>>:/clang:-mbranches-within-32B-boundaries /fp:fast /Gw /Gy /Zc:inline>
$<$<NOT:$<CONFIG:Debug>>:/clang:-mbranches-within-32B-boundaries /clang:-ffp-contract=fast /Gw /Gy /Zc:inline>
)
target_link_options(${__target} PRIVATE
--color-diagnostics