# This file is part of the dune-xt-common project: # https://github.com/dune-community/dune-xt-common # The copyright lies with the authors of this file (see below). # License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) # Authors: # Felix Schindler (2013 - 2016) # Rene Milk (2014 - 2015) SET(GRIDTYPE "YASPGRID" CACHE STRING "GRIDTYPE") SET(GRIDDIM "2" CACHE STRING "GRIDDIM") add_definitions("-DGRIDDIM=${GRIDDIM}") add_definitions("-DGRIDTYPE=${GRIDTYPE}") add_definitions("-D${GRIDTYPE}") if(ALUGRID_FOUND) add_definitions("-DENABLE_ALUGRID=1") endif(ALUGRID_FOUND) if(ALBERTA_FOUND) add_definitions("-DENABLE_ALBERTA=1") endif(ALBERTA_FOUND) if(UG_FOUND) add_definitions("-DENABLE_UG=1") endif(UG_FOUND)