home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
COMPILER
/
GREP
/
BUILD.CMD
next >
Wrap
OS/2 REXX Batch file
|
1995-05-26
|
659b
|
27 lines
/*REXX*/
/* Get the path of the VisualAge C++ installation */
env='OS2ENVIRONMENT'; /* Default target directory */
BasePath = VALUE('CPPWORK',,env); /* on CPPWORK variable dir */
if BasePath="" then call Abort("Error: CPPWORK environment variable not set.");
/* Get project path name. CHANGE THIS FOR YOUR OWN PROJECT! */
PrjName = "GREP"
PrjPath = '"'BasePath'\SAMPLES\PROJECTS\COMPILER\'PrjName'"'
/* Call IWFBUILD utility */
iwfbuild '/Project 'PrjPath' /NoPrompt'
SAY 'Build completed with rc='rc
call Done(rc);
Abort:
parse arg abortMessage
SAY abortMessage
call Done(100)
Done:
arg exitRc
exit(exitRc)