Skip to content
Snippets Groups Projects
Commit 2c9083c9 authored by Markus Blatt's avatar Markus Blatt
Browse files

translate further options.

[[Imported from SVN: r7457]]
parent 16896d1d
No related branches found
No related tags found
No related merge requests found
...@@ -7,15 +7,16 @@ ...@@ -7,15 +7,16 @@
### ###
########################################## ##########################################
# CMake Packages are case sensitive
# This is a list of packages whose names converted
# to lower case are used for configures
# --with-<package> or without-<package> options
#
CMAKE_PACKAGES="Boost Inkscape GMP LAPACK"
dune_common_options_am2cmake() dune_common_options_am2cmake()
{ {
# CMake Packages are case sensitive
# This is a list of packages whose names converted
# to lower case are used for configures
# --with-<package> or without-<package> options
#
CMAKE_PACKAGES="Boost Inkscape GMP LAPACK"
default_am2cmake_options $CMAKE_PACKAGES default_am2cmake_options $CMAKE_PACKAGES
# Check for --enable-parallel and otherwise deactivate MPI # Check for --enable-parallel and otherwise deactivate MPI
...@@ -23,4 +24,21 @@ dune_common_options_am2cmake() ...@@ -23,4 +24,21 @@ dune_common_options_am2cmake()
if test "$?" -eq 0 ; then if test "$?" -eq 0 ; then
CMAKE_PARAMS="$CMAKE_PARAMS -DCMAKE_DISABLE_FIND_PACKAGE_MPI=TRUE" CMAKE_PARAMS="$CMAKE_PARAMS -DCMAKE_DISABLE_FIND_PACKAGE_MPI=TRUE"
fi fi
# Check for --disable-gxx0xcheck
echo $PARAMS | grep \\-\\-disable-gxx0xcheck
if test "$?" -eq 0 ; then
CMAKE_PARAMS="$CMAKE_PARAMS -DDISABLE_GXX0XCHECK:Bool=TRUE"
fi
# Check for --disable-gxx0xcheck
echo $PARAMS | grep \\-\\-disable-tr1-headers
if test "$?" -eq 0 ; then
CMAKE_PARAMS="$CMAKE_PARAMS -DDISABLE_TR1_HEADERS:Bool=TRUE"
fi
# Check for --with-minimal-debug-level
local arg=`echo $PARAMS| sed "s/.*--with-minimal-debug-level=\(\S*\).*/\1/"`
if test "x$arg" != "x$PARAMS"; then
CMAKE_PARAMS="$CMAKE_PARAMS -DMINIMAL_DEBUG_LEVEL:String=$arg"
fi
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment