3 IF NOT EXIST "%VS90COMNTOOLS%..\..\VC\vcvarsall.bat" GOTO ERROR1
5 @REM Load local settings from file localenv.bat that should be located in the root directory
6 if "%ROOT_DIR%" == "" (
10 if exist "%ROOT_DIR%\localenv.bat" (
11 echo Setting local environment from %ROOT_DIR%\localenv.bat
12 call "%ROOT_DIR%\localenv.bat"
14 echo Warning: file %ROOT_DIR%\localenv.bat does not exist; using default environment
17 if "%SALOME_ROOT_DIR%" == "" (
18 set SALOME_ROOT_DIR=%ROOT_DIR%\SALOME
21 call "%SALOME_ROOT_DIR%\WORK\set_env.bat"
22 call "%PDIR%\env_compile.bat"
24 @REM -------------------------
26 @SET PYTHON_LIB_DIR=%PYTHON_ROOT_DIR%\libs
27 @SET PYTHON_INC_DIR=%PYTHON_ROOT_DIR%\include
28 @REM -------------------------
30 @REM -------------------------
32 @SET PATH=%CASROOT%;%CASROOT%\win32\bin%OCC_LIB_PREFIX%;%PATH%
33 @SET LIB=%CASROOT%\win32\lib%OCC_LIB_PREFIX%;%LIB%
34 @set CSF_MDTVFontDirectory=%CASROOT%\src\FontMFT
37 @set CSF_EXCEPTION_PROMPT=1
38 @set CSF_SHMessage=%CASROOT%\src\SHMessage
39 @set CSF_MDTVTexturesDirectory=%CASROOT%\src\Textures
40 @set CSF_XSMessage=%CASROOT%\src\XSMessage
41 @set CSF_StandardDefaults=%CASROOT%\src\StdResource
42 @set CSF_PluginDefaults=%CASROOT%\src\StdResource
43 @set CSF_XCAFDefaults=%CASROOT%\src\StdResource
44 @set CSF_StandardLiteDefaults=%CASROOT%\src\StdResource
45 @set CSF_UnitsLexicon=%CASROOT%\src\UnitsAPI\Lexi_Expr.dat
46 @set CSF_UnitsDefinition=%CASROOT%\src\UnitsAPI\Units.dat
47 @set CSF_IGESDefaults=%CASROOT%\src\XSTEPResource
48 @set CSF_STEPDefaults=%CASROOT%\src\XSTEPResource
49 @set CSF_XmlOcafResource=%CASROOT%\src\XmlOcafResource
50 @REM -------------------------
52 @REM -------------------------
53 @REM Create launch path
54 @SET PATH=%LIBXML2_ROOT_DIR%\bin;%PATH%
55 @SET PATH=%PDIR%\tbb\bin;%PATH%
56 @SET PATH=%PDIR%\freeimage-3.15.4\bin;%PATH%
57 @SET PATH=%PDIR%\ftgl-2.1.3\bin;%PATH%
58 @SET PATH=%PDIR%\freetype-2.4.11\bin;%PATH%
59 @SET PATH=%PDIR%\gl2ps-1.3.8\bin;%PATH%
60 @SET PATH=%PDIR%\qwt-5.2.1\lib;%PATH%
61 @REM -------------------------
63 IF "%ARCH%" == "Win64" (
64 call "%VS90COMNTOOLS%..\..\VC\vcvarsall.bat" x64
66 IF "%ARCH%" == "Win32" (
67 call "%VS90COMNTOOLS%..\..\VC\vcvarsall.bat" x86
69 echo Wrong architecture is used. Win32 or Win64 architecture is allowed only.
70 echo Refer to the set_env.bat script.
74 @SET NEW_GEOM_CONFIG_FILE=%ROOT_DIR%\install\plugins
75 @SET PATH=%ROOT_DIR%\install\bin;%ROOT_DIR%\install\plugins;%PATH%
77 @SET LightAppConfig=%ROOT_DIR%\install\share\salome\resources\newgeom;%GUI_ROOT_DIR%\share\salome\resources\gui