- Jul 02, 2015
-
-
Christoph Grüninger authored
Otherwise it collides with the config.h.cmake for in-source builds. The generated file is called config_collected.h.cmake. Thanks to Robert for the heads-up.
-
- Jul 01, 2015
-
-
Christoph Grüninger authored
Setting a policy must be guarded as older CMake version do not know about the policy.
-
Steffen Müthing authored
CMake >= 2.8.12 can optionally use @rpath to embed dynamic linker paths into shared libraries on OS X. This greatly improves reliability with libraries in non-standard locations and should definitely be turned on by default.
-
Robert K authored
-
Robert K authored
-
Robert K authored
-
Robert K authored
-
Robert K authored
script. This feature is disabled by default and can be enabled by -DALLOW_CXXFLAGS_OVERWRITE=ON.
-
- Jun 30, 2015
-
-
Steffen Müthing authored
All the functionality in DuneEnableAllPackages.cmake is now contained in functions instead of macros. Update the documentation to reflect that.
-
Steffen Müthing authored
State the minimum required version of CMake in the documentation for dune_enable_all_packages() and dune_target_enable_all_packages().
-
Steffen Müthing authored
dune_enable_all_packages has to update the compiler options, but the command compile_options only exists in CMake 2.8.12+. So we add a hard requirement for that CMake version to the function. I only ever intended this feature to work for CMake >= 2.8.12, so this doesn't really change anything, except for giving the users a more useful diagnostic.
-
Christoph Grüninger authored
Minimum required CMake version is 2.8.12 and not 2.9.12.
-
Dominic Kempf authored
-
- Jun 29, 2015
-
-
Christian Engwer authored
The duncontrol / dune.module mechanism allowes to overload the run_* commands, which are executed in order to setup/build/etc. a module. This patch fixes a bug in the cmake parsing of the dune.module file. Somehow cmake tried to interpret the content of the dune.module as cmake code. We now use a different strategy to parse the file and avoid storing the content in a temporary variable. >> please backport to 2.4
-
- Jun 01, 2015
-
-
Christoph Grüninger authored
BOOST_FOUND seems to be no longer known, use HAVE_DUNE_BOOST instead.
-
- May 28, 2015
-
-
Christoph Grüninger authored
Affected are older CMake versions 2.8.6 to 2.8.9 maybe even, newer versions.
-
- May 21, 2015
-
-
Steffen Müthing authored
dune_library_add_sources() verifies the library name against the contents of DUNE_ENABLE_ALL_PACKAGES_MODULE_LIBRARIES. I accidentally broke this by converting dune_enable_all_packages (which defines the variable) from a macro to a function, which removed the variable from global scope. This patch fixes the problem by explicitly exporting the variable to the parent scope, making it available to dune_library_add_sources() again.
-
- May 20, 2015
-
-
Steffen Müthing authored
We have to call add_definitions() in a loop because add_definitions() is kind of broken: even though it is supposed to be *the* function for adding compile definitions, it does not prepend "-D" (as opposed to target_compile_definitions(), which does). Well, whatever...
-
Steffen Müthing authored
Thanks for spotting that, Dominic!
-
- May 19, 2015
-
-
Steffen Müthing authored
We do not really support this combination of C++11 features, and the only time it should occur is when the user has a recent Intel Compiler and an outdated GCC (which the Intel Compiler uses for the C++ standard library). In that case, we emit a helpful error message at configuration time.
-
Steffen Müthing authored
-
Steffen Müthing authored
-
Steffen Müthing authored
This patch adds a new function dune_target_enable_all_packages() that works like dune_enable_all_packages(), but only acts on the given list of targets. This function is mostly needed to be able to use the new dune_enable_all_packages() feature in a DUNE module that defines its own libraries. Specifically, the "nice" default way of handling those libraries only works on CMake 3.1+. To be compatible with older CMake versions, the library has to be manually added in the top-level CMakeLists.txt file before the call to dune_enable_all_packages(). But the library also needs to get all the package flags from the DUNE modules the current one depends on, which can be done using the new function added by this patch.
-
Steffen Müthing authored
-
Steffen Müthing authored
All of the macros in DuneEnableAllPackage cause their side effects by modifying properties, so there is no point in having them as macros, which are more fragile than functions and pollute the outside variable scope.
-
Steffen Müthing authored
- Fix some typos - Improve wording - Try to be clearer about the distinction between CMake modules and DUNE modules
-
- May 13, 2015
-
-
Jö Fahlke authored
on Ubuntu.
-
- May 12, 2015
-
-
Dominic Kempf authored
Passing multiple files to dune_symlink_to_source_files() was broken. While at it, I switched the given macros to be functions and have named arguments. Using positional arguments will result in a warning.
-
Dominic Kempf authored
For discussion check FS1648. Disabling a cmake module through CMAKE_DISABLE_FIND_PACKAGE_... was only partially working: - Any module suggesting the disabled module would not search for it - dunecontrol did not have this knowledge and built the disabled module nevertheless This commit fixes the latter.
-
- May 11, 2015
-
-
Steffen Müthing authored
The test for __cxa_demangle(), which is used by Dune::className() to demangle type names, doesn't work on my clang 3.6. Apparently, clang requires the user to include <typeinfo> before <cxxabi.h>. While classname.hh already does this, the build system tests don't, causing the feature to get disabled on clang. Fixed by adding the include to the build system tests.
-
- Apr 27, 2015
-
-
- Apr 21, 2015
-
-
Felix Gruber authored
-
Felix Gruber authored
DuneEnableAllPackages.cmake, FindThreadsCMake31.cmake and CheckForPthreads.c were missing in the Dune-common installation.
-
- Apr 20, 2015
-
-
- Apr 16, 2015
-
-
Christoph Grüninger authored
This fixes FS#1614.
-
- Apr 15, 2015
-
-
Dominic Kempf authored
The Metis test used the wrong one and I copied it for PTScotch... :/
-
Dominic Kempf authored
This test has been added while the dune_enable_all_packages feature was developed...
-
Steffen Müthing authored
This patch adds some sanity checks to dune_library_add_sources: - Make sure that dune_enable_all_packages has been called - Test whether the library has been declared in the MODULE_LIBRARIES argument of dune_enable_all_packages In case of an error, the macro aborts the CMake run with a fatal error.
-