aboutsummaryrefslogtreecommitdiff
path: root/mkwinall.bat
diff options
context:
space:
mode:
authorBen Marsh <[email protected]>2019-10-22 09:07:59 -0400
committerBen Marsh <[email protected]>2019-10-22 09:07:59 -0400
commitbd0027e737c6512397f841c22786274ed74b927f (patch)
treef7ffbdb8f3741bb7f24635616cc189cba5cb865c /mkwinall.bat
downloadshave-and-a-haircut-bd0027e737c6512397f841c22786274ed74b927f.tar.xz
shave-and-a-haircut-bd0027e737c6512397f841c22786274ed74b927f.zip
Adding Shave-and-a-Haircut 9.6
Diffstat (limited to 'mkwinall.bat')
-rw-r--r--mkwinall.bat48
1 files changed, 48 insertions, 0 deletions
diff --git a/mkwinall.bat b/mkwinall.bat
new file mode 100644
index 0000000..b81e657
--- /dev/null
+++ b/mkwinall.bat
@@ -0,0 +1,48 @@
+rem @echo off
+rem Shave and a Haircut
+rem (c) 2019 Epic Games
+rem US Patent 6720962
+
+@if not defined AUTODESK_LOCATION (
+ echo AUTODESK_LOCATION not defined.
+ goto done
+)
+
+setlocal
+
+rem
+rem Clear the error level
+rem
+ver >nul
+
+call mkwinbase
+
+rem
+rem The only difference in the libexe libs for different Maya versions
+rem is the version of Visual Studio used to build them.
+rem
+rem To prevent rebuilding the libs unnecessarily, we set a flag to indicate
+rem when the libs built for one version can be reused by the next.
+rem
+
+set reuseLibexe=n
+
+if exist "%AUTODESK_LOCATION%\Maya2017\include\maya\MTypes.h" (
+ if %errorlevel%==0 call mkwinversion 2017 Release %reuseLibexe%
+ set reuseLibexe=y
+) else (
+ echo Maya 2017 not installed. Skipping build for Maya 2017
+)
+
+set reuseLibexe=n
+
+if exist "%AUTODESK_LOCATION%\Maya2018\include\maya\MTypes.h" (
+ if %errorlevel%==0 call mkwinversion 2018 Release %reuseLibexe%
+ set reuseLibexe=y
+) else (
+ echo Maya 2018 not installed. Skipping build for Maya 2018
+)
+
+endlocal
+
+:done