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 dea9ba2 commit d8b5cdcCopy full SHA for d8b5cdc
CMakeLists.txt
@@ -72,6 +72,12 @@ if (MSVC)
72
add_compile_options("$<$<COMPILE_LANGUAGE:CXX>:/bigobj>")
73
endif()
74
75
+if (LLAMA_STANDALONE)
76
+ # enable parallel builds for msbuild
77
+ list(APPEND CMAKE_VS_GLOBALS UseMultiToolTask=true)
78
+ list(APPEND CMAKE_VS_GLOBALS EnforceProcessCountAcrossBuilds=true)
79
+endif()
80
+
81
if (CMAKE_SYSTEM_NAME STREQUAL "iOS")
82
set(LLAMA_TOOLS_INSTALL_DEFAULT OFF)
83
else()
0 commit comments