Skip to content
Snippets Groups Projects
  1. Oct 15, 2015
  2. Oct 14, 2015
  3. Oct 13, 2015
    • Dominic Kempf's avatar
      Adapt the infrastructure for a collected cmake API doc. · a4535b9a
      Dominic Kempf authored
      We do not want one such documentation per module, but instead
      we would allow people to use it from their module and get a
      documentation generated from all the dependent modules. This
      needs some changes to the machine.
      a4535b9a
    • Dominic Kempf's avatar
      Initial implementation of the sphinx-based CMake API documentation · 06f656c0
      Dominic Kempf authored
      This includes the following workflow:
      
      * The cmake module path is globbed for any modules matching *.cmake
      * The opening comment is parsed for the following rst directives:
        cmake_function, cmake_module, cmake_variables
      * From those, a browsable documentation is generated.
      
      To run properly, a python interpreter and sphinx are needed.
      06f656c0
  4. Sep 29, 2015
  5. Sep 24, 2015
  6. Sep 23, 2015
  7. Sep 19, 2015
  8. Sep 18, 2015
  9. Sep 16, 2015
    • Oliver Sander's avatar
      Reimplement the PromotionTraits class using decltype and declval · c1177be5
      Oliver Sander authored
      The previous implementation consisted of a list of promotion rules for
      various types.  The new implementation is much shorter and more general:
      it will also work for types not on the old list.  The promoted type is
      now defined as the result type of the addition of the two input types.
      There is no special reason to use addition here, but it does reproduce
      the precise behavior of the old implementation.
      c1177be5
  10. Sep 12, 2015
  11. Sep 09, 2015
  12. Sep 01, 2015
  13. Aug 25, 2015
  14. Aug 24, 2015
    • Markus Blatt's avatar
      [release] Always indicate whether we support parallelism. · 14371eb3
      Markus Blatt authored
      Since commit 495f2fce USE_MPI was removed from dunecontrol and
      the default configuration now defaults to use
      parallelism. Unfortunately, there are downstream modules that try to
      support multiple versions of DUNE. Sometimes these need to decide
      whether to support parallelism before they know which version of DUNE
      they are using. This is was not possible when providing
      --enable-parallel as no variable gets set for DUNE>=2.4.
      
      With this commit dunecontrol always sets
      CMAKE_DISABLE_FIND_PACKAGE_MPI to an appropriate value. Thus if
      dunecontrol is used then one can check in one's own module whether the
      variable is set explicitly to false and conclude that one is using
      >=2.4 and wants parallelism. Otherwise one can check USE_MPI to detect
      which behaviour is needed for 2.3.
      
      E.g. like this:
      <code>
      option (USE_MPI "Use Message Passing Interface for parallel computing" OFF)
      
      if( NOT CMAKE_DISABLE_FIND_PACKAGE_MPI STREQUAL ""
          AND NOT CMAKE_DISABLE_FIND_PACKAGE_MPI)
        set(USE_MPI ON)
      endif()
      
      if (NOT USE_MPI)
            set (CMAKE_DISABLE_FIND_PACKAGE_MPI TRUE)
       set (CMAKE_DISABLE_FIND_PACKAGE_MPI TRUE)
      endif (NOT USE_MPI)
      </code>
      
      Of course without dunecontrol and using the defaults one will still
      configure DUNE as parallel, but one's own module as sequential.
      14371eb3
    • Markus Blatt's avatar
      [release] Make finding *.la files non-fatal. · 21dbaefe
      Markus Blatt authored
      Actually, having these files lying around does not hurt us.
      In addition there are downstream modules that especially create
      these for compatibility reasons with autotools. For these
      reconfiguring a module using dunecontrol currently aborts with an error
      
      Therefore this commit resorts to just issuing a warning and proceeding
      with the compilation instead of aborting with an error.
      21dbaefe
  15. Aug 19, 2015
  16. Aug 15, 2015
  17. Aug 03, 2015
  18. Aug 01, 2015
Loading