mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
33
samples/qt/Tutorial/env.bat
Executable file
33
samples/qt/Tutorial/env.bat
Executable file
@@ -0,0 +1,33 @@
|
||||
@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\bin
|
||||
|
||||
SET CSF_ResourcesDefaults=%RES_DIR%
|
||||
SET CSF_TuturialResourcesDefaults=%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
|
Reference in New Issue
Block a user