]> https://gitweb.dealii.org/ - dealii.git/commit
CMake: Refactor DEAL_II_HAVE_FP_EXCEPTIONS
authorMatthias Maier <tamiko@43-1.org>
Thu, 27 Aug 2015 22:23:21 +0000 (17:23 -0500)
committerMatthias Maier <tamiko@43-1.org>
Fri, 28 Aug 2015 15:43:17 +0000 (10:43 -0500)
commit56e8ee301e6bd817df3c8b9b3ddad4d89675570d
tree8c8d350285000053374643ee277756fa0c7043e6
parent30abb088e76ea828531935fcffef1243ee6743a6
CMake: Refactor DEAL_II_HAVE_FP_EXCEPTIONS

 - this is a language feature, not a platform feature, so move it to
   check_01_cxx_features.cmake

 - A test that _runs_ code *_must_* be guarded with
   DEAL_II_ALLOW_PLATFORM_INTROSPECTION

 - Demote DEAL_II_HAVE_FP_EXCEPTIONS to an ordinary variable. Naming
   convetion: Variables starting with "DEAL_II_HAVE" must be ordinary
   variables, or internal, cached variables.

   Note: It is not necessary to promote DEAL_II_HAVE_FP_EXCEPTIONS to cache
   in order to override it with -DDEAL_II_HAVE_FP_EXCEPTIONS...
cmake/checks/check_01_cxx_features.cmake
cmake/checks/check_02_system_features.cmake
include/deal.II/base/config.h.in

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.