Skip to content

Commit 4415906

Browse files
committed
[cmake][win] Prevent checking libgen dependencies
Prevent checking and linking the libgen-build tests dependencies (like LLVM) makes the libgen-build tests take 10-15 seconds instead of 60-120 seconds (or even more sometimes) And `GeneratorNeedsBuildSerialization` is not needed anymore
1 parent 0e17cb7 commit 4415906

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmake/modules/RootMacros.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ endif()
3636

3737
if(CMAKE_GENERATOR MATCHES "Visual Studio")
3838
set(GeneratorNeedsResourecLock False)
39-
set(GeneratorNeedsBuildSerialization True)
39+
set(GeneratorNeedsBuildSerialization False)
4040
if(winrtdebug)
4141
set(build_config "--config Debug")
4242
else()
@@ -2364,7 +2364,7 @@ if(CMAKE_GENERATOR MATCHES Makefiles)
23642364
set(always-make --always-make)
23652365
endif()
23662366
if(MSVC AND NOT CMAKE_GENERATOR MATCHES Ninja)
2367-
set(always-make -v:m)
2367+
set(always-make -v:m -clp:Summary -p:BuildProjectReferences=false)
23682368
endif()
23692369
#-------------------------------------------------------------------------------
23702370
#

0 commit comments

Comments
 (0)