[Dune-devel] Adding extra CXXFLAGS upon calling make with the cmake buildsystem
Andreas Dedner
a.s.dedner at warwick.ac.uk
Wed Sep 24 14:11:26 CEST 2014
Dear Dominic.
I haven't tested it so can't conform if it is working or not but it
looks right
a feasible solution.
Why are you reluctant to include it in dune? Are their any side effects
or does it influence
anything for people not defining ALLOW_EXTRA_CXXFLAGS?
Thanks for looking into this
Andreas
On 24/09/14 12:20, 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 <mailto: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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20140924/58ae1fff/attachment.htm>
More information about the Dune-devel
mailing list