mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-07 18:30:55 +03:00
32 lines
561 B
Batchfile
Executable File
32 lines
561 B
Batchfile
Executable File
@ECHO OFF
|
|
|
|
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=res
|
|
SET BIN_DIR=win32\bin
|
|
|
|
SET CSF_ResourcesDefaults=..\Common\res
|
|
SET CSF_IEResourcesDefaults=%RES_DIR%
|
|
|
|
SET COMMONROOT=..\Common
|
|
|
|
SET PATH=%COMMONROOT%\win32\bin;%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
|