Skip to content
Snippets Groups Projects
  1. May 11, 2015
  2. Apr 14, 2015
  3. Mar 18, 2015
  4. Mar 04, 2015
  5. Mar 03, 2015
  6. Feb 19, 2015
  7. Jan 22, 2015
  8. Nov 02, 2014
  9. Oct 06, 2014
  10. Jul 04, 2014
    • Andreas Nüßing's avatar
      [duneproject] fix section name in generation of config.h.cmake · f9e3fbf6
      Andreas Nüßing authored and Christoph Grüninger's avatar Christoph Grüninger committed
      When creating a project and generating the config.h.cmake file, duneproject
      surrounds the inserted text with {begin,end} $NAME. $NAME is set to $PROJECT
      without a leading "dune[-_]" and $PROJECT is the module name specified by the
      user (e.g. $PROJECT==dune-grid, $NAME==grid).
      When DuneMacro.cmake generates the config.h.cmake for the created project in
      the build-directory, it searches the config.h.cmake file in the source
      directory of the project for {begin,end} $ProjectName which is set to
      DUNE_MOD_NAME, which is the module name specified in the corresponding
      dune.module file (e.g. dune-grid).
      This leads to DuneMacro not finding and therefore ignoring the block in the
      source config.h.cmake of the new project.
      f9e3fbf6
  11. May 01, 2014
  12. Mar 14, 2014
  13. Mar 12, 2014
  14. Jan 19, 2014
  15. Jan 16, 2014
  16. Jan 07, 2014
  17. Jan 06, 2014
  18. Jan 02, 2014
    • Markus Blatt's avatar
      [cmake,bugfix] Fixes requiredness of module · 86f1dc9c
      Markus Blatt authored
      Previously, dependencies were not correctly searched for as
      required packages. This patch fixes this.
      86f1dc9c
    • Markus Blatt's avatar
      [bugfix,cmake] Fixes precendence issues in module path · d7a1f326
      Markus Blatt authored
      When working with installed modules, the cmake scripts and
      modules of the current module should take precendence over
      any installed ones. This was not the case before this patch.
      
      Furthermore, modules downstream in the
      dependency tree should be able to overwrite tests in  modules
      that they depend on. This patch more caredfully crafts the
      CMAKE_MODULE_PATH to reflect the module dependency in it.
      d7a1f326
  19. Dec 02, 2013
  20. Nov 22, 2013
  21. Nov 21, 2013
  22. Oct 20, 2013
    • Christoph Grüninger's avatar
      [bugfix] Improve duneproject. · 00153a4b
      Christoph Grüninger authored
      Fix generated config.cmake.in which contained a surplus endif.
      List CMakeLists.txt and other files to be included in tarballs.
      Move generated files around to sort them by directory.
      00153a4b
  23. Jun 10, 2013
  24. Jun 05, 2013
    • Markus Blatt's avatar
      [CMake] Guess build directory of dependencies · 8edbd926
      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
      containing the module name (e.g. ${module}-build).
      8edbd926
  25. May 08, 2013
  26. Apr 24, 2013
  27. Feb 02, 2013
  28. Nov 19, 2012
Loading