Commit 769d705c authored by Burlen Loring's avatar Burlen Loring Committed by SENSEI SC18 VM

script to build and install sensei_config

parent 4c40a36d
#!/bin/bash
if [[ $# != 1 ]]
then
echo "make_install /path/to/sensei/install"
exit -1
fi
SENSEI_DIR=$1
rm -rf tmp_build_dir
mkdir tmp_build_dir
cd tmp_build_dir
cmake \
-DCMAKE_CXX_COMPILER=`which g++` \
-DCMAKE_C_COMPILER=`which gcc` \
-DSENSEI_DIR=${SENSEI_DIR}/lib/cmake \
-DCMAKE_INSTALL_PREFIX=${SENSEI_DIR} \
../
make install
cd ..
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment