Subversion Repositories gelsvn

Rev

Rev 286 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
284 bj 1
@ECHO off
2
cls
3
:start
4
ECHO Select MSVC version :
5
ECHO.
6
ECHO 1. Visual Studio 2003 (7.1)
7
ECHO 2. Visual Studio 2005 (8.0)
8
ECHO.
9
set choice=
10
set /p choice=Enter Choice : 
11
if not '%choice%'=='' set choice=%choice:~0,1%
12
if '%choice%'=='1' goto vc71
13
if '%choice%'=='2' goto vc8
14
ECHO "%choice%" is not valid please try again
15
ECHO.
16
goto start
17
:vc71
18
set vcver=vc71
19
set tlib=msvc
20
set texe=msvcexe
21
goto default
22
:vc8
23
set vcver=vc8
24
set tlib=msvc8lib
25
set texe=msvc8exe
26
goto default
27
 
28
:default
29
set mwcfile=course02585.mwc
30
goto build
31
 
32
:build
33
cd %1
34
makefiles\MPC\mwc.exe -type %vcver% -include makefiles/MPC -relative GEL_ROOT= -ti lib:%tlib% -ti dll_exe:%texe% %mwcfile%
35
goto end
36
:svnerror
37
ECHO This option should only be used with exported code (svn export, not svn checkout)
38
ECHO No files created
39
:end
40
@pause