]> Creatis software - FrontAlgorithms.git/blobdiff - config/install_FrontAlgorithms.sh
...
[FrontAlgorithms.git] / config / install_FrontAlgorithms.sh
diff --git a/config/install_FrontAlgorithms.sh b/config/install_FrontAlgorithms.sh
deleted file mode 100755 (executable)
index 9ee9844..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/bin/bash
-
-## -- Command line options
-while [[ "$#" -gt 1 ]]; do
-    key="$1"
-    case $key in
-        -cpPluginsConfig)
-        cpPluginsConfig="$2"
-        shift
-        ;;
-        -cmake)
-        cmake="$2"
-        shift
-        ;;
-        -prefix)
-        prefix="$2"
-        shift
-        ;;
-        -build_dir)
-        build_dir="$2"
-        shift
-        ;;
-        -cores)
-        cores="$2"
-        shift
-        ;;
-        -build_type)
-        build_type="$2"
-        shift
-        ;;
-        *)
-        # Do nothing
-        ;;
-    esac
-    shift
-done
-
-## -- Check command line options
-if \
-    [ -z "$cpPluginsConfig" ] || \
-    [ -z "$cmake" ] || \
-    [ -z "$prefix" ] || \
-    [ -z "$cores" ] || \
-    [ -z "$build_type" ] || \
-    [ -z "$build_dir" ] ; then
-    (>&2 echo "Usage: $0 -cpPluginsConfig [file] -cmake [file] -prefix [dir] -build_dir [dir] -build_type [Release/Debug] -cores [n]")
-    exit 1
-fi
-
-## -- Current dir
-curr_dir=`pwd`
-
-## -- Configure, build and install Qt5
-mkdir -p $build_dir/FrontAlgorithms
-cd $build_dir/FrontAlgorithms
-$cmake \
-    -DCMAKE_BUILD_TYPE:STRING=$build_type \
-    -DCMAKE_INSTALL_PREFIX:PATH=$prefix \
-    -Dfpa_BUILD_CTArteries:BOOL=ON \
-    -Dfpa_BUILD_CTBronchi:BOOL=ON \
-    -DcpPlugins_DIR:PATH=`dirname $cpPluginsConfig` \
-    $curr_dir/..
-make -s -j$cores -k
-make -s -j -k install
-
-## -- End
-cd $curr_dir
-
-## eof - $RCSfile$