diff options
Diffstat (limited to 'NetWare/bat/Setcw.bat')
-rw-r--r-- | NetWare/bat/Setcw.bat | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/NetWare/bat/Setcw.bat b/NetWare/bat/Setcw.bat new file mode 100644 index 0000000000..a2c2f804af --- /dev/null +++ b/NetWare/bat/Setcw.bat @@ -0,0 +1,35 @@ +@echo off +@rem AUTHOR: sgp +@rem CREATED: 24th July 2000 +@rem LAST REVISED: 6th April 2001 +@rem LAST REVISED: 6th Mayl 2002 +@rem AUTHOR: apc +@rem Batch file to set the path to CodeWarrior directories +@rem This file is called from SetNWBld.bat. + +if "%1" == "/now" goto now +if "%1" == "" goto Usage +if "%1" == "/?" goto usage +if "%1" == "/h" goto usage + + +set CODEWAR=%1 +call buildtype r +@echo Buildtype set to Release type +set MWCIncludes=%1\include +set MWLibraries=%1\lib +set MWLibraryFiles=%1\lib\nwpre.obj;p:\apps\script\sw\cw\lib\mwcrtld.lib +set PATH=%PATH%;p:\apps\script\sw\cw\bin; +goto exit + +:now +@echo CODEWAR=%CODEWAR% +goto exit + +:Usage + @echo on + @echo "Usage: setcw <path to CodeWarrior>" + @echo "Usage: setcw /now" - To display current setting + @echo Ex. setcw d:\CodeWar +:exit + |