📄 buildchecktool.bat
字号:
@rem buildchecktool.bat
@rem
@rem Copyright (c) 2002-2003 Symbian Ltd. All rights reserved.
@rem
@rem This builds an exercise IDE project and then
@rem builds via equievalent command line toolchain then
@rem and then cleans up.
@rem Don't expect an exercise problem to build successfully necessarily
@rem (though its designer would be wise to make to do, given attendee feedback to this effect)
@rem
@rem %1 path containing project, relative to this batch file
@rem %2 "cw_ide" or "vc6" or "winscw"
@rem %3 optional, "clean"
@rem
@echo off
if "%1" EQU "" goto usage
if "%2" EQU "" goto usage
goto build
:usage
@echo First cd to root of directory containing exercises
@echo "usage: buildchecktool path cw_ide|vc6|WINSCW"
@echo "or"
@echo "usage: buildchecktool path cw_ide|vc6|WINSCW clean"
goto finish
:build
if "%3" EQU "clean" goto clean
rem setup exports and create makefiles
if "%2" EQU "cw_ide" goto cw_ide
if "%2" EQU "vc6" goto vc6
if "%2" EQU "winscw" goto WINSCW
goto usage
:cw_ide
call buildclean %1 winscw %2
goto finish
:vc6
call buildclean %1 wins %2
goto finish
:WINSCW
call buildclean %1 winscw
goto finish
rem The next bit is silly!
rem To reallyclean away our VC6 makefiles, we need WINS make files first!
rem To reallyclean away our cw_ide makefiles, we need WINSCW make files first!
rem
:clean
if "%2" EQU "cw_ide" call buildcleanup %1 winscw %2
if "%2" EQU "vc6" call buildcleanup %1 wins %2
if "%2" EQU "winscw" call buildcleanup %1 winscw
:finish
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -