Integrate perlio:
[p5sagit/p5-mst-13.2.git] / NetWare / bat / Setcw.bat
1 @echo off
2 @rem AUTHOR: sgp
3 @rem CREATED: 24th July 2000
4 @rem LAST REVISED: 6th April 2001
5 @rem LAST REVISED: 6th Mayl 2002
6 @rem AUTHOR: apc
7 @rem Batch file to set the path to CodeWarrior directories
8 @rem This file is called from SetNWBld.bat. 
9
10 if "%1" == "/now" goto now
11 if "%1" == "" goto Usage
12 if "%1" == "/?" goto usage
13 if "%1" == "/h" goto usage
14
15
16 set CODEWAR=%1
17 call buildtype r
18 @echo Buildtype set to Release type
19 set MWCIncludes=%1\include
20 set MWLibraries=%1\lib
21 set MWLibraryFiles=%1\lib\nwpre.obj;p:\apps\script\sw\cw\lib\mwcrtld.lib
22 set PATH=%PATH%;p:\apps\script\sw\cw\bin;
23 goto exit
24
25 :now
26 @echo CODEWAR=%CODEWAR%
27 goto exit
28
29 :Usage
30  @echo on
31  @echo "Usage: setcw <path to CodeWarrior>"
32  @echo "Usage: setcw /now" - To display current setting
33  @echo Ex. setcw d:\CodeWar
34 :exit
35