Commit 630a84f8 authored by Arnaud Blanchard's avatar Arnaud Blanchard

Use Ninja in install. Allow Debug install

parent dc4a5762
......@@ -60,12 +60,15 @@ echo
echo " Install $project"
echo "=========================="
mkdir -p $build_dir && cd $build_dir && cmake -q $current_dir/$1 $install_prefix -DCMAKE_BUILD_TYPE="Release" && make &&
mkdir -p $build_dir && cd $build_dir && cmake -GNinja -q $current_dir/$1 $install_prefix -DCMAKE_BUILD_TYPE="$build_type" &&
{
if [ -w $install_dir ]; then
make install;
Ninja install;
else
sudo make install
sudo Ninja install
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