blob: a2c2f804af96ad5fa408488b817c3042b37032e0 (
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
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
|