0027176: Configuration, CMake - INSTALL_DIR is a common prefix for all other install...
[occt.git] / adm / templates / env.samples.bat.in
CommitLineData
4b3541c6 1@echo off
2
3if exist "%~dp0custom.bat" (
4 call "%~dp0custom.bat" %1 %2 %3
5)
6
7call "@INSTALL_DIR@\@INSTALL_DIR_SCRIPT@\env.bat" %1 %2 %3
8
9set "BIN_DIR=win%ARCH%\%VCVER%\bind"
10set "LIB_DIR=win%ARCH%\%VCVER%\libd"
11
12if ["%CASDEB%"] == [""] (
13 set "BIN_DIR=win%ARCH%\%VCVER%\bin"
14 set "LIB_DIR=win%ARCH%\%VCVER%\lib"
15)
16
17set "PATH=%~dp0%BIN_DIR%;%PATH%"
18
19if not "%QTDIR%" == "" (
20 set "RES_DIR=%~dp0win%ARCH%\%VCVER%\res"
21
22 set "CSF_ResourcesDefaults=!RES_DIR!"
23 set "CSF_TutorialResourcesDefaults=!RES_DIR!"
24 set "CSF_IEResourcesDefaults=!RES_DIR!"
25
26 set "PATH=%QTDIR%/bin;%PATH%"
27 set "QT_QPA_PLATFORM_PLUGIN_PATH=%QTDIR%\plugins\platforms"
28)