]> SALOME platform Git repositories - modules/shaper.git/blob - buildNewGEOM_eclipse.bat
Salome HOME
Fix of the Extrusion feature naming bug.
[modules/shaper.git] / buildNewGEOM_eclipse.bat
1 @ECHO OFF
2
3 REM Find absolute path to ROOT_DIR 
4 @SET PARENT_DIR=%~dp0..
5 @SET ROOT_DIR=
6 pushd %PARENT_DIR%
7 @SET ROOT_DIR=%CD%
8 popd
9
10 @SET SRC_DIR=%ROOT_DIR%\sources
11 @SET OCC_LIB_PREFIX=d
12
13 call %SRC_DIR%\msvc10_env.bat
14 mkdir %ROOT_DIR%\build-eclipse
15 cd %ROOT_DIR%\build-eclipse
16
17
18 @SET CMAKE_ARGS=-G ^"Eclipse CDT4 - NMake Makefiles^"
19 @SET CMAKE_ARGS=%CMAKE_ARGS% -D_ECLIPSE_VERSION=4.3
20 @SET CMAKE_ARGS=%CMAKE_ARGS% -DCMAKE_BUILD_TYPE=Debug
21 @SET CMAKE_ARGS=%CMAKE_ARGS% -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=ON
22 @SET CMAKE_ARGS=%CMAKE_ARGS% -DCMAKE_INSTALL_PREFIX:PATH=%ROOT_DIR%\install
23 @SET CMAKE_ARGS=%CMAKE_ARGS% -DPYTHON_EXECUTABLE=%PYTHONHOME%\python_d.exe
24 @SET CMAKE_ARGS=%CMAKE_ARGS% %SRC_DIR%
25
26 cmake %CMAKE_ARGS%
27
28 @REM Should be defined at ..\local_env.bat
29 start %ECLIPSE_EXE%