mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-01 17:36:21 +03:00
24 lines
508 B
Batchfile
24 lines
508 B
Batchfile
@echo off
|
|
|
|
rem Helper script to run generation of OCCT documentation on Windows.
|
|
rem Running it requires that Tcl, Doxygen, and MikTex (for PDF generation)
|
|
rem should be in the PATH
|
|
|
|
SET "OLD_PATH=%PATH%"
|
|
|
|
if exist "%~dp0../env.bat" (
|
|
call "%~dp0../env.bat"
|
|
)
|
|
|
|
set "TCL_EXEC=tclsh.exe"
|
|
|
|
for %%X in (%TCL_EXEC%) do (set TCL_FOUND=%%~$PATH:X)
|
|
|
|
if defined TCL_FOUND (
|
|
%TCL_EXEC% %~dp0start.tcl gendoc %*
|
|
) else (
|
|
echo "Error. %TCL_EXEC% is not found. Please update PATH variable"
|
|
)
|
|
|
|
SET "PATH=%OLD_PATH%"
|