[llvm] Enable the use of SCCache for debug builds on Windows (PR #82371)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 20 09:46:41 PST 2024


================
@@ -12,7 +12,13 @@ if(POLICY CMP0116)
 endif()
 
 +# Enable debug info compatible with SCCache
-+# https://github.com/mozilla/sccache?tab=readme-ov-file#usage
+# MSVC debug information format flags are selected by an
+# abstraction. New in CMake 3.25.
----------------
mstorsjo wrote:

While it's not the official wording, what about "MSVC debug information format flags are selected via `CMAKE_MSVC_DEBUG_INFORMATION_FORMAT`, instead of embedding flags in e.g. `CMAKE_CXX_FLAGS_RELEASE`"? That's much clearer IMO.

https://github.com/llvm/llvm-project/pull/82371


More information about the llvm-commits mailing list