From 73f8e4c3c60b2e269482ea78e7ed4fa9b78211c5 Mon Sep 17 00:00:00 2001 From: Aras Pranckevicius Date: Thu, 30 Jan 2025 13:43:29 +0100 Subject: [PATCH] Build: echo currently compiled file names when using clang-cl on Windows MSVC does this by default, and is a good way to see build progress indication, when using msbuild. clang-cl also got that option back in 2018, but it is off by default. Pull Request: https://projects.blender.org/blender/blender/pulls/133810 --- build_files/cmake/platform/platform_win32.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_files/cmake/platform/platform_win32.cmake b/build_files/cmake/platform/platform_win32.cmake index f67c0620d33..e1728da9ce3 100644 --- a/build_files/cmake/platform/platform_win32.cmake +++ b/build_files/cmake/platform/platform_win32.cmake @@ -178,8 +178,8 @@ remove_cc_flag( ) if(MSVC_CLANG) # Clangs version of cl doesn't support all flags - string(APPEND CMAKE_CXX_FLAGS " ${CXX_WARN_FLAGS} /MP /nologo /J /Gd /EHsc -Wno-unused-command-line-argument -Wno-microsoft-enum-forward-reference /clang:-funsigned-char /clang:-fno-strict-aliasing /clang:-ffp-contract=off") - string(APPEND CMAKE_C_FLAGS " /MP /nologo /J /Gd -Wno-unused-command-line-argument -Wno-microsoft-enum-forward-reference /clang:-funsigned-char /clang:-fno-strict-aliasing /clang:-ffp-contract=off") + string(APPEND CMAKE_CXX_FLAGS " ${CXX_WARN_FLAGS} /MP /nologo /J /Gd /showFilenames /EHsc -Wno-unused-command-line-argument -Wno-microsoft-enum-forward-reference /clang:-funsigned-char /clang:-fno-strict-aliasing /clang:-ffp-contract=off") + string(APPEND CMAKE_C_FLAGS " /MP /nologo /J /Gd /showFilenames -Wno-unused-command-line-argument -Wno-microsoft-enum-forward-reference /clang:-funsigned-char /clang:-fno-strict-aliasing /clang:-ffp-contract=off") else() string(APPEND CMAKE_CXX_FLAGS " /nologo /J /Gd /MP /EHsc /bigobj") string(APPEND CMAKE_C_FLAGS " /nologo /J /Gd /MP /bigobj")