]> SALOME platform Git repositories - modules/shaper.git/blob - make.sh
Salome HOME
Merge branch 'Dev_0.6' of newgeom:newgeom into Dev_0.6
[modules/shaper.git] / make.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 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=Debug"
13 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=${ROOT_DIR}/install"
14 CMAKE_ARGS="${CMAKE_ARGS} ${SRC_DIR}"
15
16 cmake -G "Unix Makefiles" ${CMAKE_ARGS}
17 make
18 make install