Small update
[occt.git] / samples / qt / Tutorial / env.bat
CommitLineData
7fd59977 1@ECHO OFF
2
3call "%~dp0..\..\..\ros\env.bat"
4
5IF NOT DEFINED CASROOT GOTO ERR_CASROOT
6
7IF NOT EXIST "%CASROOT%\win32\vc8\bin\TKernel.dll" GOTO ERR_CASCADE
8
9SET CASLIBS=%CASROOT%\win32\vc8\bin
10
11SET ROOT=%CASROOT%\..
12
13set RES_DIR=%~dp0res
ed0780c2 14set BIN_DIR=%~dp0win32\vc8\bin
7fd59977 15
16SET CSF_ResourcesDefaults=%RES_DIR%
17SET CSF_TuturialResourcesDefaults=%RES_DIR%
18
19SET PATH=%CASLIBS%;%QTDIR%\bin;%PATH%
20
21GOTO END
22
23:ERR_CASROOT
24ECHO Environment variable "CASROOT" has not been defined. Abort.
25pause
26exit /B
27
28:ERR_CASCADE
29ECHO Environment variable "CASROOT" defined incorrectly. Abort.
30pause
31exit /B
32
33:END