[cmake-developers] target sources property

Stephen Kelly steveire at gmail.com
Fri Oct 11 10:52:32 EDT 2013


Brad King wrote:

> On 10/10/2013 08:55 PM, Stephen Kelly wrote:
>> Brad King <brad.king at ...> writes:
>>> I just checked the VS 6, 9 and 11 IDEs and it is possible to mark
>>> a source file as excluded from certain configurations.  Those versions
>>> represent all the VS generators.
> 
> If listing all sources and marking each one excluded in specific
> configurations is sufficient to implement this feature then it
> should work for VS.

Ok, I'll take your word for it :). I don't know enough about the VS 
generators to implement it for them.

> Can you compute the set of sources and objects
> for all configurations before generating any config, and for those
> that are the same across all configs do not do any special markings
> and put it in Xcode too?  Then things would work except in the true
> per-config source file case.

Yes, I think that's possible.

Thanks,

Steve.





More information about the cmake-developers mailing list