1 | @echo off
|
---|
2 |
|
---|
3 | :: this script which follows the local folder but with custom filepaths,
|
---|
4 | :: mimics the env vars set up by the 2 environment.pl files in envi and inside the diffcol envi task
|
---|
5 |
|
---|
6 | pushd "C:\Program Files (x86)\Microsoft Visual Studio 14.0"
|
---|
7 | call "VC\bin\amd64\vcvars64.bat"
|
---|
8 | popd
|
---|
9 |
|
---|
10 | echo Environment for Visual Studio 64-bit Compiler setup
|
---|
11 |
|
---|
12 | @echo off
|
---|
13 |
|
---|
14 | ::set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_20
|
---|
15 | set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_191
|
---|
16 |
|
---|
17 |
|
---|
18 | if not exist "%JAVA_HOME%" (
|
---|
19 | echo %JAVA_HOME% not found. Exiting...
|
---|
20 | goto done
|
---|
21 | )
|
---|
22 | set PATH=%JAVA_HOME%\bin;%PATH%
|
---|
23 | echo + Set JAVA_HOME to local instance and updated PATH
|
---|
24 |
|
---|
25 |
|
---|
26 | ::set PERL_HOME=C:\strawberry-perl-64bit\perl
|
---|
27 | :: only set to strawberry-perl5-64bit for regular GS3 from SVN, not release kits nor even diffcol
|
---|
28 | set _PERL_TOPLEVEL=C:\Users\GameJam\strawberry-perl32no64
|
---|
29 | set PERL_HOME=%_PERL_TOPLEVEL%\perl
|
---|
30 |
|
---|
31 | if not exist "%PERL_HOME%" (
|
---|
32 | echo %PERL_HOME% not found. Exiting...
|
---|
33 | goto done
|
---|
34 | )
|
---|
35 | echo + Set PERL_HOME to local instance and updated PATH
|
---|
36 |
|
---|
37 | set ANT_HOME=C:\Users\GameJam\apache-ant-1.9.5
|
---|
38 |
|
---|
39 | if not exist "%ANT_HOME%" (
|
---|
40 | echo %ANT_HOME% not found. Exiting...
|
---|
41 | goto done
|
---|
42 | )
|
---|
43 | set PATH=%PERL_HOME%\site\bin;%PERL_HOME%\bin;%_PERL_TOPLEVEL%\c\bin;%ANT_HOME%\bin;%PATH%
|
---|
44 | ::echo + Set ANT_HOME to local instance and updated PATH
|
---|
45 | set PATH=C:\Users\GameJam\diffcol\WINBIN;%PATH%
|
---|
46 | echo + Set ANT_HOME to local instance and updated PATH (including a cut-down winbin with GS's wget, rc file and unzip)
|
---|
47 |
|
---|
48 | :: Unset local variable(s)
|
---|
49 | set _PERL_TOPLEVEL=
|
---|
50 |
|
---|
51 | :done
|
---|