- Apr 01, 2015
-
-
Steffen Müthing authored
* master: Allow enabling dune_symlink_to_source_tree from the opts file Fix dune_symlink_to_source_tree for cmake 3.1
-
Dominic Kempf authored
Patching the dune core modules just to have the advantages of symlinks to the source tree is a bad idea. The patch introduces a check for the variable DUNE_SYMLINK_TO_SOURCE_TREE instead, which enables the macro if set.
-
Dominic Kempf authored
CMake 3.1 issued a lot of warnings because it tried to symlink: - git specific subdirs that are not present in the build tree - build directories that are a subdir of the source instead of a sibling The change - adds a symlink iff a CMakeLists file was found in the source dir. - excludes such build directory.
-
Steffen Müthing authored
* master: (82 commits) [Type] Fix documentation of DuneSymlinkOrCopy [CMake][CPack] Set some basic CPack wariables for tarballs. [CMake] Don't search for malloc.h, stdint.h and memory. [CMake] Don't output twice that we generate Doxyfile.in. [CMake] Doxygen ignores existens of doc/doxygen/html/index.html in src [duneproject] use CMake variable for install dir [duneproject] fix typos in README [duneproject] remove empty lines at beginning and end of generated files [Autotools] Install DuneSymlinkOrCopy.cmake [CMake] install DuneSymlinkOrCopy.cmake [Cmake][bugfix] Still do the header globbing [Cmake][bugfix] Fix error in making headercheck configurable [CMake] make the headercheck feature configurable [bugfix] fix typos in add_dune_library [cleanup] Replace or and not by || and !. [m4] fix mixup when using autools/cmake 2.4 + an installed 2.3 [bugfix] inlcude header algorithm to pass headercheck [dunecontrol] check for left over la files [reservedvector] allow to construct a reserved vector from an initializer_list Document new option --current-dep on the man page ...
-
- Mar 24, 2015
-
-
Dominic Kempf authored
-
- Mar 22, 2015
-
-
Christoph Grüninger authored
Tarballs can be built using "make package_source". But they contain all files from the source directory. There is a way to ignore files.
-
- Mar 20, 2015
-
-
Christoph Grüninger authored
We assume anyway that stdint.h and memrory are provided. The according macros are never used. They were probably provided to stay as compatible to Autotools as possible. This fixes FS#1605.
-
- Mar 18, 2015
-
-
Christoph Grüninger authored
It is already printed as the comment of the custom command.
-
Christoph Grüninger authored
-
The install path for header files can be configured in CMake with the variable ${CMAKE_INSTALL_INCLUDEDIR}.
-
-
-
- Mar 17, 2015
-
-
Christoph Grüninger authored
Similar to last commit: This macro was split off from DuneMacros.cmake in commit e63ea0cf, but the new macro file was not included in the list of installed modules.
-
This macro was split off from DuneMacros.cmake in commit e63ea0cf, but the new macro file was not included in the list of installed macros.
-
- Mar 16, 2015
-
-
Dominic Kempf authored
It seems the exclusion macros need to have a full list of headers to work. This is hopefully the last commit...
-
Dominic Kempf authored
The property must exist in order to have the exclusion macros work. I only tested dune common which has no exclusions... Thanks to Andreas Buhr for noticing!
-
Dominic Kempf authored
As proposed in FS1584, make headercheck is now disabled by default in cmake. This fact and how to enable it is printed upon "make headercheck".
-
Dominic Kempf authored
Apparently, that code never for executed/tested...
-
- Mar 15, 2015
-
-
Christoph Grüninger authored
-
- Mar 14, 2015
-
-
Christian Engwer authored
Ich a module is not updated to cmake yet, we can have the situation, that the core modules are built using cmake, but used by autotools. When trying to detect a dune library, we either explicitly stated the /blablabla/libdunefoo.la file if the the dependency was built using autools, or used the '-ldunefoo -L/blablabla/' options. This failed with very subtle errors if dune was also installed globally, e.g. a 2.3 from your favorite distribution. We fix this now in the same way as we fixed it for autotools. If the module is local, we explicitly state the lib... either as .la or as .a.
-
- Mar 13, 2015
-
-
Christoph Grüninger authored
-
Tobias Malkmus authored
-
- Mar 12, 2015
-
-
Christian Engwer authored
if the user has for some reason old la files from the autotools era, these can lead to very subtle and hard to understand errors. We now check for old la files and bail out in case some are found.
-
Christian Engwer authored
-
- Mar 11, 2015
-
-
Dominic Kempf authored
-
Oliver Sander authored
-
- Mar 10, 2015
-
-
Christoph Grüninger authored
Together with the last patch, this fixes FS#1592.
-
-
Steffen Müthing authored
[Typetraits][Compatibility] Provide partial backwards compatibility for is_indexable on old GCC versions Older GCC versions have some nasty bugs related to SFINAE and indexing with operator[]. This patch adds a configuration check for those problems and a partial backwards compatibility hack for those older compilers that is sufficient for our current use case in the VTK writer.
-
Steffen Müthing authored
GCC 4.4, I'm looking at you
-
Steffen Müthing authored
-
Steffen Müthing authored
is_indexable can be used to test whether a type can be indexed (via operator[]).
-
- Mar 07, 2015
-
-
Martin Nolte authored
Previously, the command vcsetup, which is executed on command 'all', was not listed on the help screen.
-
- Mar 06, 2015
-
-
Dominic Kempf authored
The file DuneMacros.cmake is very crowded. Macros that belong together should be placed in a separate module in order to increase the visibility of its documentation IMO.
-
- Mar 05, 2015
-
-
Christian Engwer authored
This reverts commit 9f9bc5c0. see FS#1576
-
- Mar 04, 2015
-
-
Otherwise UNAME_HH was seen by the shell as the name of the variable, but actually, the variable is called UNAME and _HH should be appended after expansion of the variable.
-
Oliver Sander authored
Follow up to the previous patch: if the source file contains hyphens, then the compiled executable should not have them replaced by underscores.
-
Oliver Sander authored
Each module constructed by duneproject contains a little Hello-world example program. The name of the program used to be the name of the module with .cc appended AND all hyphens replaced by underscores. Hence a module dune-foo would containt the program dune_foo.cc. This patch removes that displacement. Rationale: - I see no reason for the replacement in the first place - File names with hyphens appear to be much more common in Dune world than file names with underscores.
-
- Mar 03, 2015
-
-
add missing @
-
- Mar 02, 2015
-
-
Christoph Grüninger authored
In the past MPI / parallel features were disabled until the proper flag was added. This patch changes the behavior to enable MPI iff it is found. * Autotools: --disable-parallel and --enable-parallel work as before but the documentation is a bit clumsy to minimize changes. * CMake: USE_MPI gets removed, too. It was not used by the Dune core modules. The backwards compatible --disable-parallel remains.
-