# -*-sh-*- ########################################## ### ### Function for converting configure options ### to CMake options for dune-grid ### ########################################## # CMake Packages are case sensitive # This is a list of packages whose names converted # to lower case are used for configures # --with- or without- options # dune_grid_options_am2cmake(){ CMAKE_PACKAGES="AmiraMesh ALUGrid Alberta Grape Psurface UG" default_am2cmake_options $CMAKE_PACKAGES # Check for --enable-experimental-grid-extensions echo $PARAMS | grep \\-\\-enable-experimental-grid-extensions > /dev/null if test "$?" -eq 0 ; then CMAKE_PARAMS="$CMAKE_PARAMS -DENABLE_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE" fi # Check for --enable-experimental-grid-extensions echo $PARAMS | grep \\-\\-enable-extra-utils > /dev/null if test "$?" -eq 0 ; then CMAKE_PARAMS="$CMAKE_PARAMS -DENABLE_GRID_EXTRA_UTILS:BOOL=TRUE" fi }