[cmake-developers] <FLAGS> on Darwin and custom languages

Brad King brad.king at kitware.com
Thu Oct 10 08:44:59 EDT 2013


On 10/09/2013 05:56 PM, Vittorio Giovara wrote:
> I'm kinda puzzled though, by your explanation it appears that by
> design a flag has been hardcoded in the compiler flags with no option
> to disable it. Isn't the role of a build system such as cmake to avoid
> making assumptions and allow users to customize its scripts?

Yes, and that is the bug I was describing how to fix.  Here is
the change:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2e13c362

Now custom languages will not get -F flags unless their platform
information files set this variable.

-Brad



More information about the cmake-developers mailing list