We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 061cfbd commit a7c24e3Copy full SHA for a7c24e3
llvm/cmake/modules/LLVMProcessSources.cmake
@@ -58,8 +58,8 @@ function(llvm_process_sources OUT_VAR)
58
set(sources ${ARG_UNPARSED_ARGUMENTS})
59
llvm_check_source_file_list(${sources})
60
61
- # Don't generate __SHORT_FILE__ on MSVC builds as it can force repeated cache regeneration.
62
- if(NOT MSVC)
+ # Don't generate __SHORT_FILE__ on VS builds as it can prevent build parallelisation.
+ if(NOT CMAKE_GENERATOR MATCHES "Visual Studio")
63
foreach(fn ${sources})
64
get_filename_component(suf ${fn} EXT)
65
if("${suf}" STREQUAL ".cpp" OR "${suf}" STREQUAL ".c")
0 commit comments