]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Build environment for eclipse IDE
authorsbh <sergey.belash@opencascade.com>
Tue, 20 May 2014 11:00:21 +0000 (15:00 +0400)
committersbh <sergey.belash@opencascade.com>
Tue, 20 May 2014 11:00:21 +0000 (15:00 +0400)
buildNewGEOM_eclipse.bat [new file with mode: 0644]

diff --git a/buildNewGEOM_eclipse.bat b/buildNewGEOM_eclipse.bat
new file mode 100644 (file)
index 0000000..b5fa7c1
--- /dev/null
@@ -0,0 +1,29 @@
+@ECHO OFF
+
+REM Find absolute path to ROOT_DIR 
+@SET PARENT_DIR=%~dp0..
+@SET ROOT_DIR=
+pushd %PARENT_DIR%
+@SET ROOT_DIR=%CD%
+popd
+
+@SET SRC_DIR=%ROOT_DIR%\sources
+@SET OCC_LIB_PREFIX=d
+
+call %SRC_DIR%\msvc10_env.bat
+mkdir %ROOT_DIR%\build-eclipse
+cd %ROOT_DIR%\build-eclipse
+
+
+@SET CMAKE_ARGS=-G ^"Eclipse CDT4 - NMake Makefiles^"
+@SET CMAKE_ARGS=%CMAKE_ARGS% -D_ECLIPSE_VERSION=4.3
+@SET CMAKE_ARGS=%CMAKE_ARGS% -DCMAKE_BUILD_TYPE=Debug
+@SET CMAKE_ARGS=%CMAKE_ARGS% -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=ON
+@SET CMAKE_ARGS=%CMAKE_ARGS% -DCMAKE_INSTALL_PREFIX:PATH=%ROOT_DIR%\install
+@SET CMAKE_ARGS=%CMAKE_ARGS% %SRC_DIR%
+
+cmake %CMAKE_ARGS%
+pause
+
+@REM Should be defined at ..\local_env.bat
+start %ECLIPSE_EXE%