Integrate perlio:
[p5sagit/p5-mst-13.2.git] / NetWare / bat / Setcw.bat
CommitLineData
8213a98b 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
10if "%1" == "/now" goto now
11if "%1" == "" goto Usage
12if "%1" == "/?" goto usage
13if "%1" == "/h" goto usage
14
15
16set CODEWAR=%1
17call buildtype r
18@echo Buildtype set to Release type
19set MWCIncludes=%1\include
20set MWLibraries=%1\lib
21set MWLibraryFiles=%1\lib\nwpre.obj;p:\apps\script\sw\cw\lib\mwcrtld.lib
22set PATH=%PATH%;p:\apps\script\sw\cw\bin;
23goto exit
24
25:now
26@echo CODEWAR=%CODEWAR%
27goto 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