- Mar 22, 2014
-
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
Christoph Grüninger authored
Deprecate header and macro dune_static_assert. Use static_assert instead.
-
- Mar 21, 2014
-
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
Christoph Grüninger authored
They cased compiler warnings.
-
- Feb 14, 2014
-
-
Christoph Grüninger authored
-
- Feb 07, 2014
-
-
Markus Blatt authored
With this patch the default is again building static libraries unless one specifies -DBUILD_SHARED=True to cmake. This is not a fix but a workaround for flyspray #1429 https://dune-project.org/flyspray/index.php?do=details&task_id=1429
-
- Feb 04, 2014
-
-
Markus Blatt authored
Previously running make test if there was a symlink int the path to the module. This caused make test to fail. This patch fixes this by extracting the path without symlinks.
-
- Jan 31, 2014
-
-
Christoph Grüninger authored
Dependencies in the dune.module without a required version failed.
-
Christoph Grüninger authored
Now <= and >= are correctly treated.
-
Christoph Grüninger authored
-
- Jan 29, 2014
-
-
Markus Blatt authored
Du to typo the length of the modules and version list of the suggestion differed. This patch fixes this.
-
Markus Blatt authored
If we do not do that the length of the list of modules and corresponding versions will differ as empty values will be neglected when appending to a list
-
Markus Blatt authored
In this patch we rename dune_process_depedency_tree to dune_process_depedency_macros because it actually just include the macros of all modules that we depend on. I addition we fix a bug that resulted in not executing the module's own macro if there was only one dependency and now always process it here.
-
Markus Blatt authored
-
Markus Blatt authored
Somehow we ended up putting CMAKE_PROJECT_SOURCE_DIR/lib into the linker path. There should not be any library there and it should not be needed for linking anyway. Additionally it causes warnings in dune-grid-howto. Therefore this patch simply removes it.
-
- Jan 28, 2014
-
-
Markus Blatt authored
The name of the file changed in one of the recent patches. This change is now also reflected in the install directive. Fixes #1426
-
Markus Blatt authored
Previously, we used >=0.0. if there was no version information in the dependes and suggests clause of a dune.module file. This breaks with the new more strict version checking. Therefore with this revision no version gets set if it does not appear in dune.module
-
- Jan 27, 2014
-
-
Markus Blatt authored
Before we tried to search for dune-common twice (once without a version and then with the required version). Unfortunately this breaks because we are adding the same library target twice. With this patch we only search for a module once.
-
Markus Blatt authored
Before this patch we always relied on dunecontrol/pkg-config to check for the correct version. With this patch we include this functionality also when building packges with dunecontrol for this use part of the version checking of cmake (or pkg-config if there are packages without CMake support). Basically we let CMake check wether the major and minor version matches and afterwards use the information from the dune.module file. This should make it possible to have several versions of DUNE installed and still always use the correct version. During fixing these issues we noticed that our version files were not recognized because the carried the wrong name. Now we use the correct name <dune-module>-config-version.cmake.
-
- Jan 23, 2014
-
-
Christoph Grüninger authored
This fixes FS#1422.
-
Christoph Grüninger authored
Replace tabs by spaces.
-
- Jan 22, 2014
-
-
Markus Blatt authored
One of the latest patches prevent the macros of the current module form being executed. This patch fixes this by including the module in the dependency tree.
-
Markus Blatt authored
When making the entries of ALL_DEPENDENCIES unique, we skipped modules that did not ship a Dune<ModuleName>Macros.cmake macro. This caused their libraries to be missing in DUNE_LIBS. This patch fixes this situation.
-
Markus Blatt authored
Previously we already processed dune.module but in a much later stage during configure. Dependencies are contained in dune.module. Therefore there is no need to replicate them in the CMake package configuration files. With this patch we now always process dune.module directly after finding the DUNE module. In addition we set ${DUNE_MOD_NAME}_(DEPENDS|SUGGESTS} in the CMake environment. As with this change DUNE_MOD_NAME will usually be set to to dune-common, we also changed to using ProjectName and ProjectVersion (the canonical CMake names) to refer to the current module and version.
-
- Jan 21, 2014
-
-
Ansgar Burchardt authored
-
- Jan 16, 2014
-
-
Markus Blatt authored
Previously we checked whether the extracted Version evaluated to True. Unfortunately, there lazy people like me that like use a version of 0 for testing, which evaluates to False and breaks configure. With this patch we allow 0 to and just test wether the version consists of characters.
-
Markus Blatt authored
With new modules there were cases where cmake/modules was not in the modules path which made configuration fail. This patch fixes this case.
-
- Jan 13, 2014
-
-
Markus Blatt authored
-
Markus Blatt authored
-
- Jan 09, 2014
-
-
Markus Blatt authored
-
- Jan 08, 2014
-
-
Markus Blatt authored
Some ^[$BLANK] or [^[$BLANK]^'], where $BLANK is space followed by tab did not work as a capturing statement in some cases (e.g. opts files with CONFIGURE_FLAGS="CXX='bla'"). After this patch we use [$NOBLANK] with NOBLANK=^$space^$tab which works. In addition the other patches form feature/posix-sed-dunecontrol have been backported to close flyspray 1401.
-
- Jan 07, 2014
-
-
Markus Blatt authored
DuneCmakePackageConfigHelpers.cmake -> DuneCMakePackageConfigHelpers.cmake
-
Markus Blatt authored
Apparently it is not available with some older versions of CMake. Therefore we provide a poor man's alternative for it, if it is not there.
-
Markus Blatt authored
Debian uses multiarch-triplets (e.g. i386-gnu-linux) when installing object libraries. These are installed to lib/$multiarch-triplet and not to lib directly. In CMake this concept is partially supported by GNUInstallDirs.cmake by setting CMAKE_INSTALL_LIBDIR to lib/$multiarch-triplet. Unfortunately, this is only half the way through as we also install libraries that do not differ between architectures (e.g. our shell libraries. This patch addes multiarch support for CMake to the best of my knowledge, which might be limited, though: - All not architecture dependent libraries are installed below the variable DUNE_INSTALL_NONOBJECTLIBDIR, which defaults to lib, but might be adjusted by the user. - If the module ships an object library then the pkg-config and CMake package configuration files are installed in lib/$multiarch-triplet/pkg-config and lib/$multiarch-triplet/cmake/modules, respectively. - If not then they are installed in lib/pkg-config and lib/cmake/modules, respectively. Note that for autotool no such difference exists and always the latter approach is used.
-
Markus Blatt authored
Somehow I missed some files when committing. this patch fixes this.
-
Markus Blatt authored
Previously, the macros were installed to $(datadir)/cmake/. As we have some macros in DUNE that might also be in other packages this may cause conflicts in package managers. With this patch we install them to $(datadir)/dune/cmake to resolve this issue. Together with the last patch this will resolve problems outlined in flyspray task 813 https://dune-project.org/flyspray/index.php?do=details&task_id=813 I apologize for givin the wrong task number in the previous patch.
-
- Jan 06, 2014
-
-
Markus Blatt authored
As Ansgar not the CMake package configuration files are quite generic. This patch autogenerates them if their templates do not exist in the source tree. In addition duneproject and am2cmake do not generate the templates as files in the source tree anymore.
-