3 IF NOT EXIST "%VS100COMNTOOLS%..\..\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 if "%SOLVESPACE_ROOT_DIR%" == "" (
22 SET SOLVESPACE_ROOT_DIR=%ROOT_DIR%\products\solvespace-2.0
23 SET PATH=%SOLVESPACE_ROOT_DIR%\lib;"%PATH%"
26 cd %SALOME_ROOT_DIR%\WORK
28 call "%PDIR%\env_compile.bat"
31 @REM -------------------------
33 @SET PYTHON_LIB_DIR=%PYTHON_ROOT_DIR%\libs
34 @SET PYTHON_INC_DIR=%PYTHON_ROOT_DIR%\include
35 @REM -------------------------
37 @REM -------------------------
39 @SET PATH=%CASROOT%;%CASROOT%\win32\bin%OCC_LIB_PREFIX%;%PATH%
40 @SET LIB=%CASROOT%\win32\lib%OCC_LIB_PREFIX%;%LIB%
41 @set CSF_MDTVFontDirectory=%CASROOT%\src\FontMFT
44 @set CSF_EXCEPTION_PROMPT=1
45 @set CSF_SHMessage=%CASROOT%\src\SHMessage
46 @set CSF_MDTVTexturesDirectory=%CASROOT%\src\Textures
47 @set CSF_XSMessage=%CASROOT%\src\XSMessage
48 @set CSF_StandardDefaults=%CASROOT%\src\StdResource
49 @set CSF_PluginDefaults=%CASROOT%\src\StdResource
50 @set CSF_XCAFDefaults=%CASROOT%\src\StdResource
51 @set CSF_StandardLiteDefaults=%CASROOT%\src\StdResource
52 @set CSF_UnitsLexicon=%CASROOT%\src\UnitsAPI\Lexi_Expr.dat
53 @set CSF_UnitsDefinition=%CASROOT%\src\UnitsAPI\Units.dat
54 @set CSF_IGESDefaults=%CASROOT%\src\XSTEPResource
55 @set CSF_STEPDefaults=%CASROOT%\src\XSTEPResource
56 @set CSF_XmlOcafResource=%CASROOT%\src\XmlOcafResource
57 @REM -------------------------
59 @REM -------------------------
60 @REM Create launch path
61 rem @SET PATH=%LIBXML2_ROOT_DIR%\bin;%PATH%
62 rem @SET PATH=%PDIR%\tbb\bin;%PATH%
63 rem @SET PATH=%PDIR%\freeimage-3.15.4\bin;%PATH%
64 rem @SET PATH=%PDIR%\ftgl-2.1.3\bin;%PATH%
65 rem @SET PATH=%PDIR%\freetype-2.4.11\bin;%PATH%
66 rem @SET PATH=%PDIR%\gl2ps-1.3.8\bin;%PATH%
67 rem @SET PATH=%PDIR%\qwt-5.2.1\lib;%PATH%
68 rem @SET PATH=%SOLVESPACE_ROOT_DIR%\lib;%PATH%
69 @REM -------------------------
71 @REM -------------------------
72 @SET PYTHONHOME=%PYTHON_ROOT_DIR%
73 @SET PYTHON_INCLUDE=%PYTHONHOME%\include
74 @REM -------------------------
76 @SET PATH=%GEOM_ROOT_DIR%\lib\salome;%PATH%
79 IF "%ARCH%" == "Win64" (
80 call "%VS100COMNTOOLS%..\..\VC\vcvarsall.bat" x64
82 IF "%ARCH%" == "Win32" (
83 call "%VS100COMNTOOLS%..\..\VC\vcvarsall.bat" x86
85 echo Wrong architecture is used. Win32 or Win64 architecture is allowed only.
86 echo Refer to the set_env.bat script.
90 @SET NEW_GEOM_CONFIG_FILE=%ROOT_DIR%\install\plugins
91 @SET PATH=%ROOT_DIR%\install\plugins;%ROOT_DIR%\install\bin;%PATH%
92 @SET PYTHONPATH=%ROOT_DIR%\install\swig;%PYTHONPATH%
94 @SET LightAppConfig=%ROOT_DIR%\install\share\salome\resources\newgeom;%GUI_ROOT_DIR%\share\salome\resources\gui
95 @SET NewGeomResources=%ROOT_DIR%\install\resources