home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l350 / 2.ddi / BIN / MSCPP.BAT < prev    next >
Encoding:
DOS Batch File  |  1993-02-10  |  525 b   |  17 lines

  1. @echo off
  2. rem Compile a C++ source file with the Microsoft 32-bit C/C++ compiler
  3. rem    %1    Name of .CPP file, without an extension
  4. rem    %2-%9    Any additional compiler switches
  5. rem Set INCLUDE variable as appropriate for your installation
  6.  
  7. if x%1==x goto usage
  8. set saveinc=%include%
  9. set include=c:\mstools\h;c:\mstools\mfc\include;c:\phar386\include
  10. cl386 /c /Di386=1 /DWIN32 /D_NTWIN %2 %3 %4 %5 %6 %7 %8 %9 %1.cpp
  11. set include=%saveinc%
  12. set saveinc=
  13. goto exit
  14. :usage
  15. echo Usage:  mscpp sourcefile [switches]
  16. :exit
  17.