build.bat

来自「空战游戏flacon源码」· Batch 代码 · 共 32 行

BAT
32
字号
@echo off

   rem   useage:
   rem      BUILD DEBUG (default), or
   rem      BUILD RELEASE

   rem   msdev binaries must be in your search path (msvc modifies the make
   rem   file, so there was no sense modifying it to use env variables for
   rem   this - since they'll most likely be overwritten)

   set MSDevDir=C:\MSDEV
   set VcOsDir=WIN95
   set Incpath=\INCLUDE
   set Libpath=\LIB
   set DbgOutpath=\Debug
   set RelOutpath=\Release

   set build=DEBUG
   if not "%1"=="" set build=%1
   
   if "%build%"=="release" set build=RELEASE
   if "%build%"=="rel"     set build=RELEASE
   if "%build%"=="r"       set build=RELEASE
   if "%build%"=="debug"   set build=DEBUG
   if "%build%"=="dbg"     set build=DEBUG
   if "%build%"=="d"       set build=DEBUG


   set INCLUDE=%MSDevDir%%Incpath%;
   set LIB=%MSDevDir%%Libpath%;

   echo 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?