Skip to content
Snippets Groups Projects
  1. Jan 09, 2018
  2. Jan 02, 2018
  3. Aug 05, 2016
  4. May 28, 2016
  5. Jan 22, 2016
  6. Jan 02, 2014
  7. Jun 05, 2013
    • Markus Blatt's avatar
      [CMake] Guess build directory of dune-common · da5f82f4
      Markus Blatt authored
      Previously we relied on CMake's export(PACKAGE ...) function when
      finding dune packages without dune-control. This is error prone
      when using several instances of a dune-module (either with differing
      versions or built using different options). In this case there is no
      control which of the instances is used.
      
      Now we try to guess the correct build directory, if it was not
      provided with ${module}_DIR, ${module}_Root or in the
      CMAKE_PREFIX_PATH. Note that when using dunecontrol ${module}_DIR will
      always be set. We take the path of the current toplevel build
      directory and simply substitute any occurence of the name of current
      module with name of the module that we try to find. This works for
      both  building in a subdirectory of the source tree
      (e.g. ${module-source}/build-cmake) or in a sibling directory
      da5f82f4
  8. Feb 20, 2013
  9. Oct 19, 2012
  10. Sep 27, 2012
    • Markus Blatt's avatar
      - List the cmake modules explicitly (file(GLOB will not detect changes · b1b6e414
      Markus Blatt authored
        after configure)
      - Make CMake module installation path configurable
      - Detect CMAKE_MODULE_PATH automatically
        + First call find_package(dune-common) to query its CMAKE_MODULE_PATH
        + Then setup the module path
        + After each find_package of dune module update the CMAK_MODULE_PATH
        + each module exports ist own <package-name>_MODULE_PATH in the
        + package configuration files
      
      [[Imported from SVN: r1714]]
      b1b6e414
  11. Sep 20, 2012
  12. Aug 28, 2012
  13. May 22, 2012
  14. Apr 30, 2012
Loading