`UG_USE_NEW_DIMENSION_DEFINES` definition missing
Trying to compile spatial-model-editor with the master branch of dune-copasi I get various compilation errors.
If I define UG_USE_NEW_DIMENSION_DEFINES
then it compiles ok: looks like this definition got lost in the recent CMake changes.
sample compile error:
[21/23] Building CXX object test/CMakeFiles/tests.dir/__/src/core/simulate/src/dunefunction_t.cpp.o
FAILED: test/CMakeFiles/tests.dir/__/src/core/simulate/src/dunefunction_t.cpp.o
ccache /usr/bin/clang++ -DDUNE_COPASI_MD_LIBRARY -DDUNE_COPASI_SD_LIBRARY -DDUNE_USE_FALLBACK_FILESYSTEM -DENABLE_GMP=1 -DENABLE_SUPERLU=1 -DENABLE_TBB=1 -DENABLE_UG=1 -DFMT_LOCALE -DHAVE_DUNE_COPASI_CONFIG_H -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_EDID_SUPPORT_LIB -DQT_FONTDATABASE_SUPPORT_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SERVICE_SUPPORT_LIB -DQT_TESTCASE_BUILDDIR=\"/home/lkeegan/BIOQUANT/spatial-model-editor/build\" -DQT_TESTLIB_LIB -DQT_THEME_SUPPORT_LIB -DQT_VULKAN_SUPPORT_LIB -DQT_WIDGETS_LIB -DQT_XCB_QPA_LIB_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DSPATIAL_MODEL_EDITOR_WITH_TBB -DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_INFO -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_NO_ATOMIC_LEVELS -DSPDLOG_NO_THREAD_ID -D_TBB_CPP0X -Itest/tests_autogen/include -I../src/core/common/inc -I../src/core/mesh/inc -I../src/core/mesh/src -I../src/core/model/inc -I../src/core/model/src -I../src/core/simulate/src -I../src/core/simulate/inc -I../test/test_utils/. -I../src/gui/. -I../src/gui/widgets/. -I../src/gui/dialogs/. -I../src/gui/tabs/. -I../cli/inc -I../cli/src -I../ext/CLI11/include -isystem /home/lkeegan/BIOQUANT/dune/dune-logging -isystem /home/lkeegan/BIOQUANT/dune/dune-pdelab -isystem /home/lkeegan/BIOQUANT/dune/dune-multidomaingrid -isystem /home/lkeegan/BIOQUANT/dune/dune-functions -isystem /home/lkeegan/BIOQUANT/dune/dune-localfunctions -isystem /home/lkeegan/BIOQUANT/dune/dune-grid -isystem /home/lkeegan/BIOQUANT/dune/dune-istl -isystem /usr/include/superlu -isystem /home/lkeegan/BIOQUANT/dune/dune-typetree -isystem /home/lkeegan/BIOQUANT/dune/dune-geometry -isystem /home/lkeegan/BIOQUANT/dune/dune-uggrid -isystem /home/lkeegan/BIOQUANT/dune/dune-common -isystem /home/lkeegan/install/include -isystem /home/lkeegan/install/include/opencv4 -isystem /home/lkeegan/install/include/QtGui -isystem /home/lkeegan/install/include/QtCore -isystem /home/lkeegan/install/./mkspecs/linux-g++ -isystem /home/lkeegan/install/include/QtServiceSupport -isystem /home/lkeegan/install/include/QtDBus -isystem /home/lkeegan/install/include/QtThemeSupport -isystem /home/lkeegan/install/include/QtFontDatabaseSupport -isystem /home/lkeegan/install/include/QtXkbCommonSupport -isystem /home/lkeegan/install/include/QtVulkanSupport -isystem /home/lkeegan/install/include/QtEdidSupport -isystem /home/lkeegan/install/include/QtWidgets -isystem /home/lkeegan/install/include/QtTest -isystem /home/lkeegan/install/include/QtPrintSupport -Wall -Wextra -Wpedantic -Wshadow -Wunused -Wconversion -Wsign-conversion -Wcast-align -O3 -DNDEBUG -fvisibility=hidden -pthread -fPIC -std=gnu++17 -MD -MT test/CMakeFiles/tests.dir/__/src/core/simulate/src/dunefunction_t.cpp.o -MF test/CMakeFiles/tests.dir/__/src/core/simulate/src/dunefunction_t.cpp.o.d -o test/CMakeFiles/tests.dir/__/src/core/simulate/src/dunefunction_t.cpp.o -c ../src/core/simulate/src/dunefunction_t.cpp
In file included from ../src/core/simulate/src/dunefunction_t.cpp:2:
In file included from ../src/core/simulate/src/dune_headers.hpp:39:
In file included from /home/lkeegan/install/include/dune/copasi/grid/mark_stripes.hh:4:
In file included from /home/lkeegan/BIOQUANT/dune/dune-grid/dune/grid/uggrid.hh:58:
In file included from /home/lkeegan/BIOQUANT/dune/dune-grid/dune/grid/uggrid/ugincludes.hh:16:
In file included from /home/lkeegan/BIOQUANT/dune/dune-uggrid/dune/uggrid/gm/gm.h:60:
/home/lkeegan/BIOQUANT/dune/dune-uggrid/dune/uggrid/low/dimension.h:31:2: error: **** define at least dimension two OR three ****
#error **** define at least dimension two OR three ****
^
In file included from ../src/core/simulate/src/dunefunction_t.cpp:2:
In file included from ../src/core/simulate/src/dune_headers.hpp:39:
In file included from /home/lkeegan/install/include/dune/copasi/grid/mark_stripes.hh:4:
In file included from /home/lkeegan/BIOQUANT/dune/dune-grid/dune/grid/uggrid.hh:58:
In file included from /home/lkeegan/BIOQUANT/dune/dune-grid/dune/grid/uggrid/ugincludes.hh:16:
/home/lkeegan/BIOQUANT/dune/dune-uggrid/dune/uggrid/gm/gm.h:327:30: error: use of undeclared identifier 'DIM'
typedef DOUBLE DOUBLE_VECTOR[DIM];
^
/home/lkeegan/BIOQUANT/dune/dune-uggrid/dune/uggrid/gm/gm.h:567:12: error: use of undeclared identifier 'DIM'
DOUBLE x[DIM];
^
...