#!/bin/bash if [[ $# == 0 || ${1} == "help" ]]; then echo "Compiles executables/libraries and maintains installed files. Two tools 'Cmake' and 'stow' are empolyed here. For more information, see https://cmake.org and https://www.gnu.org/software/stow/." echo "" echo "School of Earth Sciences, Zhejiang University" echo "Yi Zhang (yizhang-geo@zju.edu.cn)" echo "" echo "Usage: ./config.sh [option] [Cmake options]" echo "" echo "Options:" echo "(1) configure: Configure Cmake project(s). This option could take extra Cmake options as in