1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

30 lines
507 B
Batchfile
Executable File

@ECHO OFF
call ../../../env.bat %1 %2 %3
IF NOT DEFINED CASROOT GOTO ERR_CASROOT
IF NOT EXIST "%CASROOT%\win32\bin\TKernel.dll" GOTO ERR_CASCADE
SET CASLIBS=%CASROOT%\win32\bin
SET ROOT=%CASROOT%\..
SET RES_DIR=win32\res
SET BIN_DIR=win32\bin
SET CSF_ResourcesDefaults=%RES_DIR%
SET PATH=%CASLIBS%;%QTDIR%\bin;%PATH%
GOTO END
:ERR_CASROOT
ECHO Environment variable "CASROOT" has not been defined. Abort.
EXIT
:ERR_CASCADE
ECHO Environment variable "CASROOT" defined incorrectly. Abort.
EXIT
:END