3 REM Find absolute path to ROOT_DIR
4 @SET PARENT_DIR=%~dp0..
10 @SET SRC_DIR=%ROOT_DIR%\sources
12 @SET NEWGEOM_ROOT_DIR=%ROOT_DIR%\install
13 @SET SalomeAppConfig=%ROOT_DIR%\install\share\salome\resources\newgeom;%GUI_ROOT_DIR%\share\salome\resources\gui
15 call %SRC_DIR%\env_Salome.bat d
16 mkdir %ROOT_DIR%\build-eclipse
17 cd %ROOT_DIR%\build-eclipse
19 @SET CMAKE_ARGS=-G ^"Eclipse CDT4 - NMake Makefiles^"
20 @SET CMAKE_ARGS=%CMAKE_ARGS% -D_ECLIPSE_VERSION=4.3
21 @SET CMAKE_ARGS=%CMAKE_ARGS% -DCMAKE_BUILD_TYPE=Debug
22 @SET CMAKE_ARGS=%CMAKE_ARGS% -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=OFF
23 @SET CMAKE_ARGS=%CMAKE_ARGS% -DCMAKE_INSTALL_PREFIX:PATH=%ROOT_DIR%\install
24 @SET CMAKE_ARGS=%CMAKE_ARGS% -DPYTHON_EXECUTABLE=%PYTHONHOME%\python_d.exe
25 @SET CMAKE_ARGS=%CMAKE_ARGS% %SRC_DIR%
29 @REM Should be defined at ..\local_env.bat