]> SALOME platform Git repositories - modules/shaper.git/blob - eclipse.sh
Salome HOME
Fix of the Extrusion feature naming bug.
[modules/shaper.git] / eclipse.sh
1
2 # Find absolute path to ROOT_DIR
3 export ROOT_DIR=$(pwd)/..
4 export ROOT_DIR=`cd "${ROOT_DIR}";pwd`
5
6 SRC_DIR=${ROOT_DIR}/sources
7
8 source ${SRC_DIR}/linux_env.sh
9 mkdir -p ${ROOT_DIR}/build
10 cd ${ROOT_DIR}/build
11
12 export LD_LIBRARY_PATH=${KERNEL_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH}
13 export LightAppConfig=${ROOT_DIR}/install/share/salome/resources/newgeom:${GUI_ROOT_DIR}/share/salome/resources/gui
14
15 CMAKE_ARGS="-D_ECLIPSE_VERSION=4.3"
16 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=Debug"
17 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=ON"
18 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=${ROOT_DIR}/install"
19 CMAKE_ARGS="${CMAKE_ARGS} -DPYTHON_EXECUTABLE=${PYTHONHOME}/bin/python"
20 CMAKE_ARGS="${CMAKE_ARGS} -DUSE_TEST_COVERAGE=OFF"
21 CMAKE_ARGS="${CMAKE_ARGS} ${SRC_DIR}"
22
23 cmake -G "Eclipse CDT4 - Unix Makefiles" ${CMAKE_ARGS}
24
25 /misc/dn48/newgeom/common/eclipse-4.4.0/eclipse&