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

Vittorio Giovara vittorio.giovara at gmail.com
Thu Oct 10 09:15:21 EDT 2013


On Thu, Oct 10, 2013 at 2:44 PM, Brad King <brad.king at kitware.com> wrote:
> 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

Thank you for your support Brad, I'll add a few checks in my project
to avoid users getting into this.
Best,
Vittorio



More information about the cmake-developers mailing list