3 ## -- Command line options
4 while [[ "$#" -gt 1 ]]; do
38 ## -- Check command line options
40 [ -z "$cpPluginsConfig" ] || \
44 [ -z "$build_type" ] || \
45 [ -z "$build_dir" ] ; then
46 (>&2 echo "Usage: $0 -cpPluginsConfig [file] -cmake [file] -prefix [dir] -build_dir [dir] -build_type [Release/Debug] -cores [n]")
53 ## -- Configure, build and install Qt5
54 mkdir -p $build_dir/FrontAlgorithms
55 cd $build_dir/FrontAlgorithms
57 -DCMAKE_BUILD_TYPE:STRING=$build_type \
58 -DCMAKE_INSTALL_PREFIX:PATH=$prefix \
59 -Dfpa_BUILD_CTArteries:BOOL=ON \
60 -Dfpa_BUILD_CTBronchi:BOOL=ON \
61 -DcpPlugins_DIR:PATH=`dirname $cpPluginsConfig` \