Commit Graph

8 Commits

Author SHA1 Message Date
Roland Kaufmann
f0baaefebe Add a small bootstrapper to locate build system
Currently this bootstrapper only finds the macros that are located
in the cmake/ tree in this project. Projects that don't carry their
own build system can specify search locations here.
2013-08-16 23:06:40 +02:00
Andreas Lauser
52ecabfd1c make it compile without warning on the current DUNE git master branch (to be 2.3) 2013-08-08 17:23:58 +02:00
Roland Kaufmann
43087cb208 Give template for adding version requirement 2013-08-08 13:29:38 +02:00
Roland Kaufmann
029e611eeb Separate build concerns for better maintainability
Introduce a main build file which uses modules in the cmake/ directory
for most of its bulk work, which agains retrieve information from files
in the root of the source tree (dune.module, CMakeLists_files.cmake) to
get information about the project.

Thus, the cmake/ directory is shared between all the projects down to
the last bit; only project-specific customizations go into the main file
in form of _hook macros (which are called in specific places).
2013-08-08 10:38:18 +02:00
Roland Kaufmann
f27e27fd0e Recognize lib dirs that may be used later
This let you specify a bunch of directory names on the command line
to *all* packages, without getting annoying warnings that they are
defined but not used.
2013-08-07 22:14:43 +02:00
Bård Skaflestad
48f6d4d40e Add CMake backwards compatibility
The build system uses CMake features that aren't all available in
early versions of the 2.8.x release series.  Add compatibility to
enable using CMake 2.8.0 if needed (e.g., Ubuntu 10.04 LTS).
2013-06-20 10:46:31 +02:00
Andreas Lauser
7298744a58 bail out if some required C++-2011 features are not available 2013-06-13 23:40:00 +02:00
Andreas Lauser
d6e18d6038 make the tests compile using OPM's shiny new CMake based build system 2013-05-30 19:17:00 +02:00