X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=eclipse_centos.sh;h=af0926eb25d0377e71c411294ccdaf822fb7732a;hb=2e39226506e4b82f6ae5dcc26e776571801b1555;hp=ea5e02a63195f41b46102b02c08708347b190026;hpb=8e54aaa6560497708620242e7f99a0d8e58366f7;p=modules%2Fshaper.git diff --git a/eclipse_centos.sh b/eclipse_centos.sh index ea5e02a63..af0926eb2 100755 --- a/eclipse_centos.sh +++ b/eclipse_centos.sh @@ -1,25 +1,3 @@ +#!/bin/bash -# Find absolute path to ROOT_DIR -export ROOT_DIR=$(pwd)/.. -export ROOT_DIR=`cd "${ROOT_DIR}";pwd` - -SRC_DIR=${ROOT_DIR}/sources - -source ${SRC_DIR}/linux_env.sh -mkdir -p ${ROOT_DIR}/build-centos -cd ${ROOT_DIR}/build-centos - -export LD_LIBRARY_PATH=${KERNEL_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH} -export LightAppConfig=${ROOT_DIR}/install/share/salome/resources/newgeom:${GUI_ROOT_DIR}/share/salome/resources/gui - -CMAKE_ARGS="-D_ECLIPSE_VERSION=4.3" -CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=Debug" -CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=ON" -CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=${ROOT_DIR}/install" -CMAKE_ARGS="${CMAKE_ARGS} -DPYTHON_EXECUTABLE=${PYTHONHOME}/bin/python" -CMAKE_ARGS="${CMAKE_ARGS} -DUSE_TEST_COVERAGE=OFF" -CMAKE_ARGS="${CMAKE_ARGS} ${SRC_DIR}" - -cmake -G "Eclipse CDT4 - Unix Makefiles" ${CMAKE_ARGS} - -/misc/dn48/newgeom/common/eclipse-4.4.0/eclipse& +eclipse.sh centos