Commit 1999fc7a authored by Arnaud Blanchard's avatar Arnaud Blanchard

install.sh can works inside a submodule.

parent d4cccfa4
......@@ -54,11 +54,11 @@ project_dir="$current_dir/$1"
blaar_build_dir="${current_dir}_build"
build_dir="$blaar_build_dir/${build_type}/$1"
if (( $# == 0 ))
then usage; exit 1;
else
project=`basename $project_dir`
echo
echo " Install $1"
echo " Install $project"
echo "=========================="
mkdir -p $build_dir && cd $build_dir && cmake -q $current_dir/$1 $install_prefix -DCMAKE_BUILD_TYPE="Release" && make && {
......@@ -72,5 +72,3 @@ else
echo "\nSuccess installing $1"
fi
fi
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