home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / DATABASE / STOCK / SOM / BUILD.CMD < prev    next >
OS/2 REXX Batch file  |  1995-06-06  |  599b  |  26 lines

  1. /*REXX*/
  2.  
  3. /* Get the path of the VisualAge C++ installation */
  4. env='OS2ENVIRONMENT';               /* Default target directory */
  5. BasePath = VALUE('CPPWORK',,env);  /* on CPPWORK variable dir   */
  6. if BasePath="" then call Abort("Error: CPPWORK environment variable not set.");
  7.  
  8. PrjName = "DAX_SOM_"
  9. PrjPath = '"'BasePath'\SAMPLES\PROJECTS\DATABASE\'PrjName'"'
  10.  
  11. /* Call IWFBUILD utility */
  12. iwfbuild '/Project 'PrjPath' /NoPrompt'
  13. SAY 'Build completed with rc='rc
  14. call Done(rc);
  15.  
  16. Abort:
  17. parse arg abortMessage
  18. SAY abortMessage
  19. call Done(100)
  20.  
  21. Done:
  22. arg exitRc
  23. exit(exitRc)
  24.  
  25.  
  26.