📄 build_it.bat
字号:
@echo offrem Generic batch file to build a version of the library. This batch filerem assumes that the correct batch files exist to setup the appropriaterem compilation environments, and that the DMAKE.EXE program is availablerem somewhere on the path.remrem Builds as release or debug depending on the value of the CHECKEDrem environment variable.rem Unset all environment variables that change the compile processset DBG=set OPT=set OPT_SIZE=set BUILD_DLL=set IMPORT_DLL=set FPU=set CHECKS=set BETA=if %1==bc31-d16 goto bc31-d16if %1==bc45-d16 goto bc45-d16if %1==bc45-d32 goto bc45-d32if %1==bc45-tnt goto bc45-tntif %1==bc45-w16 goto bc45-w16if %1==bc45-w32 goto bc45-w32if %1==bc45-c32 goto bc45-c32if %1==bc45-vxd goto bc45-vxdif %1==bc45-snp goto bc45-snpif %1==bc50-d16 goto bc50-d16if %1==bc50-d32 goto bc50-d32if %1==bc50-tnt goto bc50-tntif %1==bc50-w16 goto bc50-w16if %1==bc50-w32 goto bc50-w32if %1==bc50-c32 goto bc50-c32if %1==bc50-vxd goto bc50-vxdif %1==bc50-snp goto bc50-snpif %1==gcc2-d32 goto gcc2-d32if %1==gcc2-w32 goto gcc2-w32if %1==gcc2-c32 goto gcc2-c32if %1==gcc2-linux goto gcc2-linuxif %1==vc40-d16 goto vc40-d16if %1==vc40-tnt goto vc40-tntif %1==vc40-w16 goto vc40-w16if %1==vc40-w32 goto vc40-w32if %1==vc40-c32 goto vc40-c32if %1==vc40-drv9x goto vc40-drv9xif %1==vc40-drvnt goto vc40-drvntif %1==vc40-rtt goto vc40-rttif %1==vc40-snp goto vc40-snpif %1==vc50-d16 goto vc50-d16if %1==vc50-tnt goto vc50-tntif %1==vc50-w16 goto vc50-w16if %1==vc50-w32 goto vc50-w32if %1==vc50-c32 goto vc50-c32if %1==vc50-drv9x goto vc50-drv9xif %1==vc50-drvnt goto vc50-drvntif %1==vc50-rtt goto vc50-rttif %1==vc50-snp goto vc50-snpif %1==vc60-d16 goto vc60-d16if %1==vc60-tnt goto vc60-tntif %1==vc60-w16 goto vc60-w16if %1==vc60-w32 goto vc60-w32if %1==vc60-c32 goto vc60-c32if %1==vc60-drv9x goto vc60-drv9xif %1==vc60-drvnt goto vc60-drvntif %1==vc60-drvw2k goto vc60-drvw2kif %1==vc60-rtt goto vc60-rttif %1==vc60-snp goto vc60-snpif %1==wc10ad16 goto wc10ad16if %1==wc10ad32 goto wc10ad32if %1==wc10atnt goto wc10atntif %1==wc10aw16 goto wc10aw16if %1==wc10aw32 goto wc10aw32if %1==wc10ac32 goto wc10ac32if %1==wc10ao32 goto wc10ao32if %1==wc10ap32 goto wc10ap32if %1==wc10asnp goto wc10asnpif %1==wc10-d16 goto wc10-d16if %1==wc10-d32 goto wc10-d32if %1==wc10-tnt goto wc10-tntif %1==wc10-w16 goto wc10-w16if %1==wc10-w32 goto wc10-w32if %1==wc10-c32 goto wc10-c32if %1==wc10-o32 goto wc10-o32if %1==wc10-p32 goto wc10-p32if %1==wc10-snp goto wc10-snpif %1==wc11-d16 goto wc11-d16if %1==wc11-d32 goto wc11-d32if %1==wc11-tnt goto wc11-tntif %1==wc11-w16 goto wc11-w16if %1==wc11-w32 goto wc11-w32if %1==wc11-c32 goto wc11-c32if %1==wc11-o32 goto wc11-o32if %1==wc11-p32 goto wc11-p32if %1==wc11-snp goto wc11-snpecho Usage: BUILD 'compiler_name' [DMAKE commands]echo.echo Where 'compiler_name' is of the form comp-os, whereecho 'comp' defines the compiler and 'os' defines the OS environment.echo For instance 'bc50-w32' is for Borland C++ 5.0 for Win32.echo The value of 'comp' can be any of the following:echo.echo bc45 - Borland C++ 4.5xecho bc50 - Borland C++ 5.xecho vc40 - Visual C++ 4.xecho vc50 - Visual C++ 5.xecho vc60 - Visual C++ 6.xecho wc10 - Watcom C++ 10.6echo wc11 - Watcom C++ 11.0echo gcc2 - GNU C/C++ 2.9xecho.echo The value of 'os' can be one of the following:echo.echo d16 - 16-bit DOSecho d32 - 32-bit DOSecho w16 - 16-bit Windows GUI modeecho c32 - 32-bit Windows console modeecho w32 - 32-bit Windows GUI modeecho o16 - 16-bit OS/2 console modeecho o32 - 32-bit OS/2 console modeecho p32 - 32-bit OS/2 Presentation Managerecho snp - 32-bit SciTech Snap applicationecho linux - 32-bit Linux applicationgoto endrem -------------------------------------------------------------------------rem Setup for the specified compiler:bc31-d16call bc31-d16.batgoto compileit:bc45-d16call bc45-d16.batgoto compileit:bc45-d32call bc45-d32.batgoto compileit:bc45-tntcall bc45-tnt.batgoto compileit:bc45-w16call bc45-w16.batgoto compileit:bc45-w32call bc45-w32.batgoto compileit:bc45-c32call bc45-c32.batgoto compileit:bc45-vxdcall bc45-vxd.batgoto compileit:bc50-d16call bc50-d16.batgoto compileit:bc50-d32call bc50-d32.batgoto compileit:bc50-tntcall bc50-tnt.batgoto compileit:bc50-w16call bc50-w16.batgoto compileit:bc50-w32call bc50-w32.batgoto compileit:bc50-c32call bc50-c32.batgoto compileit:bc50-vxdcall bc50-vxd.batgoto compileit:gcc2-d32call gcc2-d32.batgoto compileit:gcc2-w32call gcc2-w32.batgoto compileit:gcc2-c32call gcc2-c32.batgoto compileit:gcc2-linuxcall gcc2-linux.batgoto compileit:sc70-d16call sc70-d16.batgoto compileit:sc70-w16call sc70-w16.batgoto compileit:sc70-tntcall sc70-tnt.batgoto compileit:sc70-w32call sc70-w32.batgoto compileit:sc70-c32call sc70-c32.batgoto compileit:vc40-d16call vc40-d16.batgoto compileit:vc40-tntcall vc40-tnt.batgoto compileit:vc40-w16call vc40-w16.batgoto compileit:vc40-w32call vc40-w32.batgoto compileit:vc40-c32call vc40-c32.batgoto compileit:vc40-drv9xcall vc40-drv9x.batgoto compileit:vc40-drvntcall vc40-drvnt.batgoto compileit:vc40-rttcall vc40-rtt.batgoto compileit:vc50-d16call vc50-d16.batgoto compileit:vc50-tntcall vc50-tnt.batgoto compileit:vc50-w16call vc50-w16.batgoto compileit:vc50-w32call vc50-w32.batgoto compileit:vc50-c32call vc50-c32.batgoto compileit:vc50-drv9xcall vc50-drv9x.batgoto compileit:vc50-drvntcall vc50-drvnt.batgoto compileit:vc50-rttcall vc50-rtt.batgoto compileit:vc60-d16call vc60-d16.batgoto compileit:vc60-tntcall vc60-tnt.batgoto compileit:vc60-w16call vc60-w16.batgoto compileit:vc60-w32call vc60-w32.batgoto compileit:vc60-c32call vc60-c32.batgoto compileit:vc60-drv9xcall vc60-drv9x.batgoto compileit:vc60-drvntcall vc60-drvnt.batgoto compileit:vc60-drvw2kcall vc60-drvw2k.batgoto compileit:vc60-rttcall vc60-rtt.batgoto compileit:wc10ad16call wc10ad16.batgoto compileit:wc10ad32call wc10ad32.batgoto compileit:wc10atntcall wc10atnt.batgoto compileit:wc10aw16call wc10aw16.batgoto compileit:wc10aw32call wc10aw32.batgoto compileit:wc10ac32call wc10ac32.batgoto compileit:wc10ao32call wc10ao32.batgoto compileit:wc10ap32call wc10ap32.batgoto compileit:wc10-d16call wc10-d16.batgoto compileit:wc10-d32call wc10-d32.batgoto compileit:wc10-tntcall wc10-tnt.batgoto compileit:wc10-w16call wc10-w16.batgoto compileit:wc10-w32call wc10-w32.batgoto compileit:wc10-c32call wc10-c32.batgoto compileit:wc10-o32call wc10-o32.batgoto compileit:wc10-p32call wc10-p32.batgoto compileit:wc11-d16call wc11-d16.batgoto compileit:wc11-d32call wc11-d32.batgoto compileit:wc11-tntcall wc11-tnt.batgoto compileit:wc11-w16call wc11-w16.batgoto compileit:wc11-w32call wc11-w32.batgoto compileit:wc11-c32call wc11-c32.batgoto compileit:wc11-o32call wc11-o32.batgoto compileit:wc11-p32call wc11-p32.batgoto compileit:compileitk_rm -f *.lib *.admake %2 %3 %4 %5 %6 %7 %8 %9if errorlevel 1 goto errorendgoto end:errorendecho *************************************************echo * An error occurred while building the library. *echo *************************************************:end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -