# Path to sources
export SOURCES_DIR=$(pwd)
# Path to build directory
-export BUILD_DIR=$(cd ../build && pwd)
+export BUILD_DIR=$(cd .. && pwd)/build
# Path to linux_run.sh & salome_run.sh
export AUT_DIR=$(pwd)
# Path to solvespace-2
export NEWGEOM_PDIR=/dn48/newgeom/common/products
# Path to install directory
-export NEWGEOM_ROOT_DIR=$(cd ../install && pwd)
+export NEWGEOM_ROOT_DIR=$(cd .. && pwd)/install
#!/bin/bash
source env.sh
-source env_standalone.sh
+source ${TOOLS_DIR}/env_standalone.sh
CMAKE_ARGS=""
if [ -f GCOV ]; then
else
CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=Release"
fi
-CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=${INSTALL_DIR}"
+CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=${NEWGEOM_ROOT_DIR}"
CMAKE_ARGS="${CMAKE_ARGS} ${SOURCES_DIR}"
mkdir -p ${BUILD_DIR}