home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / MCELCV / BUILD.CMD < prev    next >
OS/2 REXX Batch file  |  1995-05-26  |  658b  |  27 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. /* Get project path name. CHANGE THIS FOR YOUR OWN PROJECT! */
  9. PrjName = "multi-ce"
  10. PrjPath = '"'BasePath'\SAMPLES\PROJECTS\IOC\'PrjName'"'
  11.  
  12. /* Call IWFBUILD utility */
  13. iwfbuild '/Project 'PrjPath' /NoPrompt'
  14. SAY 'Build completed with rc='rc
  15. call Done(rc);
  16.  
  17. Abort:
  18. parse arg abortMessage
  19. SAY abortMessage
  20. call Done(100)
  21.  
  22. Done:
  23. arg exitRc
  24. exit(exitRc)
  25.  
  26.  
  27.