📄 buildcheckall.bat
字号:
@echo off
rem buildcheckall.bat
rem does a check build of all components of an exercise
rem %1 is "sol" or "prb"
rem %2 is OS version, e.g. "v7", "v7.0s"; this selects alternate supported paths
rem %3 is IDE, "vc6" or "cw_ide" or "carbide" or "all"
rem %4 optional, "keep"
rem select the alternate directories according to kit, by setting KITVER to relevant partial path and SRCDIR to location of TechView source directory relative to \buildall
SETLOCAL
set KITVER=
set SRCDIR=
if "%2" EQU "v7.0s" set KITVER=_v7.0s
if "%2" EQU "v8.1b" set KITVER=_v8.1b
if "%2" EQU "v9.1" set KITVER=_v9.1
if "%2" EQU "v7.0s" set SRCDIR=..\..
if "%2" EQU "v8.1b" set SRCDIR=..\..\src\common
if "%2" EQU "v9.1" set SRCDIR=..\..\src\common
goto skipok
rem move label during frequent re-testing
:skipok
@echo on
call buildcheckcomponent "..\active1" %3
if "%4" EQU "" call buildcheckcomponent "..\active1" %3 clean
call buildcheckcomponent "..\active2_%1" %3
if "%4" EQU "" call buildcheckcomponent "..\active2_%1" %3 clean
call buildcheckcomponent "..\array_%1" %3
if "%4" EQU "" call buildcheckcomponent "..\array_%1" %3 clean
call buildcheckcomponent "..\cs_%1" %3
if "%4" EQU "" call buildcheckcomponent "..\cs_%1" %3 clean
call buildcheckcomponent "..\cs_serv" %3
if "%4" EQU "" call buildcheckcomponent "..\cs_serv" %3 clean
call buildcheckcomponent "..\desc1_%1" %3
if "%4" EQU "" call buildcheckcomponent "..\desc1_%1" %3 clean
call buildcheckcomponent "..\desc2_%1" %3
if "%4" EQU "" call buildcheckcomponent "..\desc2_%1" %3 clean
call buildcheckcomponent "..\ProgBuild" %3
if "%4" EQU "" call buildcheckcomponent "..\ProgBuild" %3 clean
call buildcheckcomponent "..\resa_%1" %3
if "%4" EQU "" call buildcheckcomponent "..\resa_%1" %3 clean
call buildcheckcomponent "..\resb_prb" %3
if "%4" EQU "" call buildcheckcomponent "..\resb_prb" %3 clean
call buildcheckcomponent "..\store_%1" %3
if "%4" EQU "" call buildcheckcomponent "..\store_%1" %3 clean
call buildcheckcomponent "..\thread_%1" %3
if "%4" EQU "" call buildcheckcomponent "..\thread_%1" %3 clean
call buildcheckcomponent "..\Welcome" %3
if "%4" EQU "" call buildcheckcomponent "..\Welcome" %3 clean
:stop
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -