aboutsummaryrefslogtreecommitdiff
path: root/mkwin2018.bat
blob: 427276b78c5e1b19da345bfb764f5f8df6eb0734 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@echo off
rem  Shave and a Haircut
rem  (c) 2019 Epic Games
rem  US Patent 6720962

setlocal

rem
rem  Clear the error level
rem
ver >nul

call mkwinbase
if not %result%==0 goto done


set reuseLibexe=n

if exist "%AUTODESK_LOCATION%\Maya2018\bin\Foundation.dll" (
     if %errorlevel%==0 call mkwinversion 2018 Release %reuseLibexe%
     set reuseLibexe=y
) else (
     echo AUTODESK_LOCATION not defined or Maya 2018 not installed.  Skipping build for Maya 2018
)

:done