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 a96285e commit 874a89dCopy full SHA for 874a89d
cmake/compilers.cmake
@@ -36,6 +36,13 @@ if (NOT IS_VS6_BUILD)
36
# Enforce strict __cplusplus version
37
add_compile_options(/Zc:__cplusplus)
38
endif()
39
+else()
40
+ # Define two pools: 'compile' with plenty of slots, 'link' with just one
41
+ set_property(GLOBAL PROPERTY JOB_POOLS compile=8 link=1)
42
+ # Tell CMake that all compile steps go into 'compile'
43
+ set(CMAKE_JOB_POOL_COMPILE compile)
44
+ # and all link steps go into 'link' (so only one link ever runs since vc6 can't handle multithreaded linking)
45
+ set(CMAKE_JOB_POOL_LINK link)
46
47
48
if(RTS_BUILD_OPTION_ASAN)
0 commit comments