postbuild.bat

来自「This ZIP archive includes the sources (a」· Batch 代码 · 共 31 行

BAT
31
字号
@echo off
rem Batch file for post-build processing
rem
rem Parameters:
rem PostBuild %1 %2
rem
rem   %1 - Platform name (Win32 or x64)
rem   %2 - Configuration name (Debug or Release)
rem
rem

set APP_NAME=FileTest

:IncBuildNum
if not "x%2" == "xRelease" goto exit
mkbuildnum.exe %APP_NAME%.rc

:CopyToTools
if "x%1" == "xx64" goto Target64

:Target32
if exist C:\Tools32 copy .\bin\%1\%2\%APP_NAME%.exe C:\Tools32
if exist D:\Tools32 copy .\bin\%1\%2\%APP_NAME%.exe D:\Tools32
goto exit

:Target64
if exist C:\Tools64 copy .\bin\%1\%2\%APP_NAME%.exe C:\Tools64
if exist D:\Tools64 copy .\bin\%1\%2\%APP_NAME%.exe D:\Tools64

:exit

⌨️ 快捷键说明

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