[Dune-devel] Adding extra CXXFLAGS upon calling make with the cmake buildsystem

Christian Engwer christian.engwer at uni-muenster.de
Wed Sep 24 14:25:05 CEST 2014


One comment...
shouldn't we do it in such a way that the compiler command is
  compiler.sh $CXX
?

In this case it would not be necessary to modify the script when
specifying the compiler, or did  I read the commit wrong?

Christian

On Wed, Sep 24, 2014 at 01:20:03PM +0200, Dominic Kempf wrote:
> I made a typo (it should be CMAKE_FLAGS) in the "manual".
> 
> I amended that and then realized, this changes the ref. please see this
> link, instead of above:
> http://cgit.dune-project.org/repositories/dune-common/commit/?h=p/dominic/allow-extra-cppflags-in-cmake&id=f578610b3648e55bf7e5f7aaaef6c3c46468533a
> 
> Dominic
> 
> On Wed, Sep 24, 2014 at 11:58 AM, Dominic Kempf <dominic.r.kempf at gmail.com>
> wrote:
> 
> > Hey Dune,
> >
> > the feature to add compile flags when running make seems to be of great
> > importance to a lot of autotools users. This is conceptionally impossible
> > to integrate in cmake. We have thought of a hack, that does the trick
> > anyway.
> >
> > I am not sure whether this should actually be merged, as it is rather
> > dirty. On the other hand, it doesn't do any harm, as it does nothing if not
> > specifically switched on. For details on how to use it, check the commit:
> >
> >
> > http://cgit.dune-project.org/repositories/dune-common/commit/?h=p/dominic/allow-extra-cppflags-in-cmake&id=dbccc31548c3347d21712d3f808ad4ccb4895b5d
> >
> > Enjoy!
> > Dominic
> >

> _______________________________________________
> Dune-devel mailing list
> Dune-devel at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-devel


-- 
Prof. Dr. Christian Engwer 
Institut für Numerische und Angewandte Mathematik
Fachbereich Mathematik und Informatik der Universität Münster
Einsteinstrasse 62
48149 Münster

E-Mail	christian.engwer at uni-muenster.de
Telefon	+49 251 83-35067
FAX		+49 251 83-32729




More information about the Dune-devel mailing list