source: local/greenstone2/windows-32bit/setup.bat@ 29056

Last change on this file since 29056 was 29056, checked in by ak19, 8 years ago

Adding a 32 bit Windows environment setup script. It's currently initialised to what's used on the Vista machine

File size: 1.9 KB
Line 
1@echo off
2
3rem set ANT_HOME=C:\Research\apache-ant-1.8.2
4set ANT_HOME=C:\Research\ant
5
6if not exist "%ANT_HOME%" echo %ANT_HOME% does not exist& goto done
7
8set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_13
9if not exist "%JAVA_HOME%" echo %JAVA_HOME% does not exist& goto done
10
11:: Add bin folders for JAVA_HOME, ANT_HOME as well as PERL and SVN to PATH
12PATH=C:\Perl\site\bin;C:\Perl\bin;%ANT_HOME%\bin;%JAVA_HOME%\bin;c:\Program Files\Subversion\bin;%PATH%
13
14:: MS SDK - used to be necessary to compile GS2 (apache) with debug flag on
15::call "C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.cmd"
16set sdklocation=C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.cmd
17if not exist "%sdklocation%" echo %sdklocation% does not exist& goto done
18call "%sdklocation%"
19
20:: MS Visual Studio
21rem call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat"
22rem call "C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat"
23::call "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"
24set vslocation=C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat
25if not exist "%vslocation%" echo %vslocation% does not exist& goto done
26call "%vslocation%"
27
28::Suggested fix for missing string.h when compiling gs2-export-cdrom-installer:
29:: http://haxe.1354130.n2.nabble.com/cpp-string-h-missing-td4408985.html
30::
31::set IDEPATH=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE
32::set PATH=%PATH%;%IDEPATH%
33::
34::set INCLUDEVC=C:\Program Files\Microsoft Visual Studio 9.0\VC\include
35::set INCLUDESDK=C:\Program Files\Microsoft SDKs\Windows\v6.1\Include
36::set INCLUDE=%INCLUDE%;%INCLUDEVC%;%INCLUDESDK%
37::set PATH=%PATH%;%INCLUDEVC%;%INCLUDESDK%
38::set LIBVC=C:\Program Files\Microsoft Visual Studio 9.0\VC\lib
39::set LIBSDK=C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib
40::set LIB=%LIB%;%LIBVC%;%LIBSDK%
41
42:done
Note: See TracBrowser for help on using the repository browser.