[cmake-developers] cmLocalGenerator::GetTargetFlags

Brad King brad.king at kitware.com
Thu Jun 9 11:33:06 EDT 2016


On 06/09/2016 11:28 AM, Ben Boeckel wrote:
> On Wed, Jun 08, 2016 at 10:12:13 -0400, Brad King wrote:
>> Side note: This is another thing that should be cleaned up in the Ninja
>> generator.  It should hold target-wide flags in the per-target rules.ninja
>> entries instead of duplicating them for every object file in build.ninja.
>> That would make the build.ninja files smaller.
> 
> Don't we already do this with target-specific build rules in
> rules.ninja?

We converted to target-specific rules but IIRC have not actually
moved all the flags there.  The build.ninja file still uses the
rules but spells out all the flags on every object.

-Brad



More information about the cmake-developers mailing list