X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=eclipse.sh;h=d4036fb363efa2979ba571e0e1cb2262dbb3c844;hb=c3c00a15849bc9113fabe42e42e3fc40bd878f79;hp=76b880add9ee02d0aec55bdfbe01dd57699db3ea;hpb=5e3caaff7ca06c029a176a979f52e227356b60ad;p=modules%2Fshaper.git diff --git a/eclipse.sh b/eclipse.sh old mode 100644 new mode 100755 index 76b880add..d4036fb36 --- a/eclipse.sh +++ b/eclipse.sh @@ -1,20 +1,19 @@ +#!/bin/bash -# Find absolute path to ROOT_DIR -export ROOT_DIR=$(pwd)/.. -export ROOT_DIR=`cd "${ROOT_DIR}";pwd` +source env.sh +source env_standalone.sh -SRC_DIR=${ROOT_DIR}/sources - -source ${SRC_DIR}/linux_env.sh -mkdir -p ${ROOT_DIR}/build -cd ${ROOT_DIR}/build +mkdir -p ${BUILD_DIR} +cd ${BUILD_DIR} CMAKE_ARGS="-D_ECLIPSE_VERSION=4.3" -CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=Release" +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} ${SRC_DIR}" +CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=${SHAPER_ROOT_DIR}" +CMAKE_ARGS="${CMAKE_ARGS} -DPYTHON_EXECUTABLE=${PYTHONHOME}/bin/python" +CMAKE_ARGS="${CMAKE_ARGS} -DUSE_TEST_COVERAGE=OFF" +CMAKE_ARGS="${CMAKE_ARGS} ${SOURCES_DIR}" cmake -G "Eclipse CDT4 - Unix Makefiles" ${CMAKE_ARGS} -/misc/dn21/hdfeditor/sbh/devtools/eclipse-4.3.0/eclipse& \ No newline at end of file +/dn48/newgeom/common/eclipse-4.4.0/eclipse&