[Dune] Dune and CMake
Christian Engwer
christi at uni-hd.de
Mon Feb 15 19:56:13 CET 2010
On Mon, Feb 15, 2010 at 06:26:08PM +0100, Franz Rammerstorfer wrote:
> Hi everyone! I'm a newbie in dune, and I've unfortunately no
> experience with the GNU AutoTools. Up to now I've always used
> CMake, and I pretty much like it. So I've built DUNE as it's
> described in the installation notes, e.g. dune-common, dune-grid
> and the external lib alugrid - without problems. Afterwards I linked
> the libs
> .../dune-install-dir/lib/libdunecommon.a
> .../dune-install-dir/lib/libdunegrid.a
> .../alu-install-dir/lib/libalugrid.a
> to my project, using CMake. Some functionality like 'SGrid' or
> 'FieldVector' is
> working, but nothing which belongs to alugrid.
The easiest way is to install your dune modules. Then you should be able to use
pkg-config to determin the necessary compiler and linker flags. But be
warned, nobody is using installed dune modules atm. They should work
in principle, but are rather untested.
Christian
More information about the Dune
mailing list