Skip to content

Commit 458e5fa

Browse files
Morten242Nekotekina
authored andcommitted
Multithreaded compile on Windows for llvm, glsl, vulkan
1 parent ee8fece commit 458e5fa

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

Vulkan/Vulkan-build/Vulkan-build.vcxproj

+6-6
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,20 @@
4040
<PropertyGroup Label="UserMacros" />
4141
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
4242
<NMakeBuildCommandLine>cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" -DBUILD_TESTS=OFF -DBUILD_DEMOS=OFF -DBUILD_LAYERS=OFF -DBUILD_VKJSON=OFF ../Vulkan-LoaderAndValidationLayers
43-
msbuild.exe ALL_BUILD.vcxproj /t:build /p:Configuration=Release</NMakeBuildCommandLine>
43+
msbuild.exe ALL_BUILD.vcxproj /t:build /p:Configuration=Release /m</NMakeBuildCommandLine>
4444
<NMakeCleanCommandLine>cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" -DBUILD_TESTS=OFF -DBUILD_DEMOS=OFF -DBUILD_LAYERS=OFF -DBUILD_VKJSON=OFF ../Vulkan-LoaderAndValidationLayers
45-
msbuild.exe ALL_BUILD.vcxproj /t:clean /p:Configuration=Release</NMakeCleanCommandLine>
45+
msbuild.exe ALL_BUILD.vcxproj /t:clean /p:Configuration=Release /m</NMakeCleanCommandLine>
4646
<NMakeReBuildCommandLine>cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" -DBUILD_TESTS=OFF -DBUILD_DEMOS=OFF -DBUILD_LAYERS=OFF -DBUILD_VKJSON=OFF ../Vulkan-LoaderAndValidationLayers
47-
msbuild.exe ALL_BUILD.vcxproj /t:rebuild /p:Configuration=Release
47+
msbuild.exe ALL_BUILD.vcxproj /t:rebuild /p:Configuration=Release /m
4848
</NMakeReBuildCommandLine>
4949
</PropertyGroup>
5050
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
5151
<NMakeBuildCommandLine>cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" -DBUILD_TESTS=OFF -DBUILD_DEMOS=OFF -DBUILD_LAYERS=OFF -DBUILD_VKJSON=OFF ../Vulkan-LoaderAndValidationLayers
52-
msbuild.exe ALL_BUILD.vcxproj /t:build /p:Configuration=Debug</NMakeBuildCommandLine>
52+
msbuild.exe ALL_BUILD.vcxproj /t:build /p:Configuration=Debug /m</NMakeBuildCommandLine>
5353
<NMakeReBuildCommandLine>cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" -DBUILD_TESTS=OFF -DBUILD_DEMOS=OFF -DBUILD_LAYERS=OFF -DBUILD_VKJSON=OFF ../Vulkan-LoaderAndValidationLayers
54-
msbuild.exe ALL_BUILD.vcxproj /t:rebuild /p:Configuration=Debug</NMakeReBuildCommandLine>
54+
msbuild.exe ALL_BUILD.vcxproj /t:rebuild /p:Configuration=Debug /m</NMakeReBuildCommandLine>
5555
<NMakeCleanCommandLine>cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" -DBUILD_TESTS=OFF -DBUILD_DEMOS=OFF -DBUILD_LAYERS=OFF -DBUILD_VKJSON=OFF ../Vulkan-LoaderAndValidationLayers
56-
msbuild.exe ALL_BUILD.vcxproj /t:clean /p:Configuration=Debug</NMakeCleanCommandLine>
56+
msbuild.exe ALL_BUILD.vcxproj /t:clean /p:Configuration=Debug /m</NMakeCleanCommandLine>
5757
</PropertyGroup>
5858
<ItemDefinitionGroup>
5959
</ItemDefinitionGroup>

Vulkan/glslang-build/glslang-build.vcxproj

+6-6
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,24 @@
4040
<PropertyGroup Label="UserMacros" />
4141
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
4242
<NMakeBuildCommandLine>cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" ../glslang
43-
msbuild.exe ALL_BUILD.vcxproj /t:build /p:Configuration=Release</NMakeBuildCommandLine>
43+
msbuild.exe ALL_BUILD.vcxproj /t:build /p:Configuration=Release /m</NMakeBuildCommandLine>
4444
<NMakeReBuildCommandLine>cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" ../glslang
45-
msbuild.exe ALL_BUILD.vcxproj /t:rebuild /p:Configuration=Release</NMakeReBuildCommandLine>
45+
msbuild.exe ALL_BUILD.vcxproj /t:rebuild /p:Configuration=Release /m</NMakeReBuildCommandLine>
4646
<NMakeCleanCommandLine>cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" ../glslang
47-
msbuild.exe ALL_BUILD.vcxproj /t:clean /p:Configuration=Release</NMakeCleanCommandLine>
47+
msbuild.exe ALL_BUILD.vcxproj /t:clean /p:Configuration=Release /m</NMakeCleanCommandLine>
4848
</PropertyGroup>
4949
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
5050
<NMakeBuildCommandLine>
5151
cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" ../glslang
52-
msbuild.exe ALL_BUILD.vcxproj /t:build /p:Configuration=Debug
52+
msbuild.exe ALL_BUILD.vcxproj /t:build /p:Configuration=Debug /m
5353
</NMakeBuildCommandLine>
5454
<NMakeReBuildCommandLine>
5555
cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" ../glslang
56-
msbuild.exe ALL_BUILD.vcxproj /t:rebuild /p:Configuration=Debug
56+
msbuild.exe ALL_BUILD.vcxproj /t:rebuild /p:Configuration=Debug /m
5757
</NMakeReBuildCommandLine>
5858
<NMakeCleanCommandLine>
5959
cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" ../glslang
60-
msbuild.exe ALL_BUILD.vcxproj /t:clean /p:Configuration=Debug
60+
msbuild.exe ALL_BUILD.vcxproj /t:clean /p:Configuration=Debug /m
6161
</NMakeCleanCommandLine>
6262
</PropertyGroup>
6363
<ItemDefinitionGroup>

llvm_build/llvm_build.vcxproj

+6-6
Original file line numberDiff line numberDiff line change
@@ -40,30 +40,30 @@
4040
</NMakePreprocessorDefinitions>
4141
<NMakeBuildCommandLine>
4242
cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_BUILD_RUNTIME=OFF -DLLVM_BUILD_TOOLS=OFF -DLLVM_INCLUDE_DOCS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_TOOLS=OFF -DLLVM_INCLUDE_UTILS=OFF -DWITH_POLLY=OFF -DCMAKE_SYSTEM_VERSION=6.1 -DCMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION=8.1 ../llvm
43-
msbuild.exe ALL_BUILD.vcxproj /t:build /p:Configuration=Debug
43+
msbuild.exe ALL_BUILD.vcxproj /t:build /p:Configuration=Debug /m
4444
</NMakeBuildCommandLine>
4545
<NMakeReBuildCommandLine>
4646
cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_BUILD_RUNTIME=OFF -DLLVM_BUILD_TOOLS=OFF -DLLVM_INCLUDE_DOCS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_TOOLS=OFF -DLLVM_INCLUDE_UTILS=OFF -DWITH_POLLY=OFF -DCMAKE_SYSTEM_VERSION=6.1 -DCMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION=8.1 ../llvm
47-
msbuild.exe ALL_BUILD.vcxproj /t:rebuild /p:Configuration=Debug
47+
msbuild.exe ALL_BUILD.vcxproj /t:rebuild /p:Configuration=Debug /m
4848
</NMakeReBuildCommandLine>
4949
<NMakeCleanCommandLine>
5050
cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_BUILD_RUNTIME=OFF -DLLVM_BUILD_TOOLS=OFF -DLLVM_INCLUDE_DOCS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_TOOLS=OFF -DLLVM_INCLUDE_UTILS=OFF -DWITH_POLLY=OFF -DCMAKE_SYSTEM_VERSION=6.1 -DCMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION=8.1 ../llvm
51-
msbuild.exe ALL_BUILD.vcxproj /t:clean /p:Configuration=Debug
51+
msbuild.exe ALL_BUILD.vcxproj /t:clean /p:Configuration=Debug /m
5252
</NMakeCleanCommandLine>
5353
</PropertyGroup>
5454
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
5555
<NMakePreprocessorDefinitions />
5656
<NMakeBuildCommandLine>
5757
cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_BUILD_RUNTIME=OFF -DLLVM_BUILD_TOOLS=OFF -DLLVM_INCLUDE_DOCS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_TOOLS=OFF -DLLVM_INCLUDE_UTILS=OFF -DWITH_POLLY=OFF -DCMAKE_SYSTEM_VERSION=6.1 -DCMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION=8.1 ../llvm
58-
msbuild.exe ALL_BUILD.vcxproj /t:build /p:Configuration=Release
58+
msbuild.exe ALL_BUILD.vcxproj /t:build /p:Configuration=Release /m
5959
</NMakeBuildCommandLine>
6060
<NMakeReBuildCommandLine>
6161
cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_BUILD_RUNTIME=OFF -DLLVM_BUILD_TOOLS=OFF -DLLVM_INCLUDE_DOCS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_TOOLS=OFF -DLLVM_INCLUDE_UTILS=OFF -DWITH_POLLY=OFF -DCMAKE_SYSTEM_VERSION=6.1 -DCMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION=8.1 ../llvm
62-
msbuild.exe ALL_BUILD.vcxproj /t:rebuild /p:Configuration=Release
62+
msbuild.exe ALL_BUILD.vcxproj /t:rebuild /p:Configuration=Release /m
6363
</NMakeReBuildCommandLine>
6464
<NMakeCleanCommandLine>
6565
cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_BUILD_RUNTIME=OFF -DLLVM_BUILD_TOOLS=OFF -DLLVM_INCLUDE_DOCS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_TOOLS=OFF -DLLVM_INCLUDE_UTILS=OFF -DWITH_POLLY=OFF -DCMAKE_SYSTEM_VERSION=6.1 -DCMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION=8.1 ../llvm
66-
msbuild.exe ALL_BUILD.vcxproj /t:clean /p:Configuration=Release
66+
msbuild.exe ALL_BUILD.vcxproj /t:clean /p:Configuration=Release /m
6767
</NMakeCleanCommandLine>
6868
</PropertyGroup>
6969
<ItemDefinitionGroup>

0 commit comments

Comments
 (0)