summaryrefslogtreecommitdiff
path: root/src/mesh/assimp-master/tools/make/make_all_win32_x64.bat
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-03-04 10:47:15 -0600
committersanine <sanine.not@pm.me>2022-03-04 10:47:15 -0600
commit058f98a63658dc1a2579826ba167fd61bed1e21f (patch)
treebcba07a1615a14d943f3af3f815a42f3be86b2f3 /src/mesh/assimp-master/tools/make/make_all_win32_x64.bat
parent2f8028ac9e0812cb6f3cbb08f0f419e4e717bd22 (diff)
add assimp submodule
Diffstat (limited to 'src/mesh/assimp-master/tools/make/make_all_win32_x64.bat')
-rw-r--r--src/mesh/assimp-master/tools/make/make_all_win32_x64.bat18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mesh/assimp-master/tools/make/make_all_win32_x64.bat b/src/mesh/assimp-master/tools/make/make_all_win32_x64.bat
new file mode 100644
index 0000000..4a1e663
--- /dev/null
+++ b/src/mesh/assimp-master/tools/make/make_all_win32_x64.bat
@@ -0,0 +1,18 @@
+rem @echo off
+setlocal
+call build_env_win32.bat
+
+set BUILD_CONFIG=release
+set PLATFORM_CONFIG=x64
+set MAX_CPU_CONFIG=4
+
+set CONFIG_PARAMETER=/p:Configuration="%BUILD_CONFIG%"
+set PLATFORM_PARAMETER=/p:Platform="%PLATFORM_CONFIG%"
+set CPU_PARAMETER=/maxcpucount:%MAX_CPU_CONFIG%
+set PLATFORM_TOOLSET=/p:PlatformToolset=%PLATFORM_VER%
+
+pushd ..\..\
+cmake CMakeLists.txt -G "Visual Studio 15 2017 Win64"
+%MSBUILD% assimp.sln %CONFIG_PARAMETER% %PLATFORM_PARAMETER% %CPU_PARAMETER% %PLATFORM_TOOLSET%
+popd
+endlocal