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

Dominic Kempf dominic.r.kempf at gmail.com
Wed Sep 24 11:58:19 CEST 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20140924/e868ddb0/attachment.htm>


More information about the Dune-devel mailing list