1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
2012-03-06 10:17:06 +04:00

33 lines
581 B
Batchfile
Executable File

@ECHO OFF
call "%~dp0..\..\..\ros\env.bat"
IF NOT DEFINED CASROOT GOTO ERR_CASROOT
IF NOT EXIST "%CASROOT%\win32\vc8\bin\TKernel.dll" GOTO ERR_CASCADE
SET CASLIBS=%CASROOT%\win32\vc8\bin
SET ROOT=%CASROOT%\..
set RES_DIR=%~dp0res
set BIN_DIR=%~dp0win32\vc8\bin
SET CSF_ResourcesDefaults=%RES_DIR%
SET CSF_IEResourcesDefaults=%RES_DIR%
SET PATH=%CASLIBS%;%QTDIR%\bin;%PATH%
GOTO END
:ERR_CASROOT
ECHO Environment variable "CASROOT" has not been defined. Abort.
pause
exit /B
:ERR_CASCADE
ECHO Environment variable "CASROOT" defined incorrectly. Abort.
pause
exit /B
:END