blob: 08c4f89c2c31df0ee92fcbc765ee29d4cdb63e6d (
plain)
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
27
28
29
30
31
32
33
34
|
@echo off
rem Launch DRAW
rem Use:
rem - first argument specifies version of Visual Studio (vc8, vc9, or vc10),
rem - second argument specifies architecture (win32 or win64),
rem - third argument specifies build mode (Debug or Release)
rem - fourth argument is path to MS project solution
rem Default options are:
rem vc8 win32 Release
rem Set build mode
set CASDEB=
if not "%3" == "" (
if /I "%3" == "Debug" (
set CASDEB=d
) else if /I "%3" == "Release" (
set CASDEB=
) else (
echo Error: third argument ^(%3^) should specify build mode,
echo one of: Debug or Release
exit
)
)
rem Set build environment
if "%1" == "" (
call "%~dp0env.bat"
) else (
call "%~dp0env_build.bat" %1 %2
)
echo Hint: use "pload ALL" command to load standard commands
DRAWEXE.exe
|