2 # Find absolute path to ROOT_DIR
3 export ROOT_DIR=$(pwd)/..
4 export ROOT_DIR=`cd "${ROOT_DIR}";pwd`
6 SRC_DIR=${ROOT_DIR}/sources
8 source ${SRC_DIR}/linux_env.sh
9 mkdir -p ${ROOT_DIR}/build
12 CMAKE_ARGS="-D_ECLIPSE_VERSION=4.3"
13 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=Debug"
14 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=ON"
15 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=${ROOT_DIR}/install"
16 CMAKE_ARGS="${CMAKE_ARGS} ${SRC_DIR}"
18 cmake -G "Eclipse CDT4 - Unix Makefiles" ${CMAKE_ARGS}
20 /misc/dn48/newgeom/common/eclipse-4.3.0/eclipse -Dosgi.locking=none &