代码拉取完成,页面将自动刷新
同步操作将从 Gitee 极速下载/opencascade 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
@echo off
rem Helper script to configure environment for building with genproj tool.
rem Running it requires that Tcl should be in the PATH
SET "OLD_PATH=%PATH%"
rem create env.bat if it does not exist yet
if not exist "%~dp0env.bat" (
type "%~dp0adm\templates\env.bat" | findstr /i /v "__CASROOT__" > "%~dp0env.bat"
)
call "%~dp0env.bat"
rem find Tcl
set "TCL_EXEC=tclsh.exe"
for %%X in (%TCL_EXEC%) do (set TCL_FOUND=%%~$PATH:X)
set "TCL_EXEC2=tclsh86.exe"
if not defined TCL_FOUND (
for %%X in (%TCL_EXEC2%) do (
set TCL_FOUND=%%~$PATH:X
set TCL_EXEC=%TCL_EXEC2%
)
)
rem Prompt the user to specify location of Tcl if not found in PATH
if not defined TCL_FOUND (
set /P TCL_PATH=This script requires Tcl, but tclsh.exe cannot be found in PATH.^
Please enter path to folder containing tclsh.exe^
^:
rem NOTE: KEEP LINE AFTER "set" ABOVE EMPTY !
)
if exist %TCL_PATH%\tclsh.exe (
set "TCL_FOUND=%TCL_PATH%\tclsh.exe"
) else if exist %TCL_PATH%\tclsh86.exe (
set "TCL_FOUND=%TCL_PATH%\tclsh86.exe"
) else (
set "TCL_EXEC=%TCL_PATH%\tclsh.exe"
)
rem Initialize custom.bat if it does not exist yet
rem if not exist %%dp0custom.bat (
rem echo set "PATH=%%PATH%%;%TCL_PATH%" >%~dp0custom.bat
rem )
rem fail if Tcl is not found
if not defined TCL_FOUND (
echo Error: "%TCL_EXEC%" is not found. Please update PATH variable ^(use custom.bat^)
goto :eof
)
rem run GUI tool
"%TCL_FOUND%" %~dp0adm/genconf.tcl
SET "PATH=%OLD_PATH%"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。