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