#1713 CMake: @GRID_CONFIG_H_BOTTOM@ not at bottom of generated config.h.cmake
Metadata
Property | Value |
---|---|
Reported by | Martin Nolte (nolte@mathematik.uni-freiburg.de) |
Reported at | Sep 3, 2015 08:54 |
Type | Bug Report |
Version | Git (pre2.4) [cmake] |
Operating System | Unspecified / All |
Description
The "grid type magic for DGF parser" differs between CMake and the autotools. The autotools attached the grid type definitions at the bottom of config.h, while CMake adds it at the end of the dune-grid section (see config.h.cmake in dune-grid).
This has a subtle effect on SPGrid: Using the "grid type magic" with SPGrid causes the grid to be included before the definition of the dune-spgrid version macros. But these macros are used within SPGrid to tag the backup/restore file format. After the inclusion of the SPGrid headers, the version macros will be used before they are defined.