[cmake-developers] target sources property

Stephen Kelly steveire at gmail.com
Tue Jul 9 11:30:55 EDT 2013


Brad King <brad.king at ...> writes:

> 
> On 06/07/2013 09:13 AM, Stephen Kelly wrote:
> >    SOURCES $<$<CONFIG:Debug>:other.cpp>
> 
> That has been requested as a feature occasionally.  I'm not sure
> it is possible to implement on all the generators though.
> 

I looked into this a bit and pushed target-SOURCES-property to my clone. The
sources would necessarily be config-specific if they are going to depend on
the linked libraries.

Can you think of any way around that?

Thanks,

Steve.





More information about the cmake-developers mailing list