[cmake-developers] Setting target properties before the target is defined ?

Brad King brad.king at kitware.com
Tue Feb 19 11:40:04 EST 2013


On 02/18/2013 08:23 AM, Brad King wrote:
> Another approach is to just add an extra property to imported targets
> that list their dependencies that are expected to be targets.  If when
> following the link interface out of that target and a library name is
> not a target, check the extra property on the very same target to see
> if it should have been one.

Any comment on this idea?  It may be simpler to implement and produce
better error messages.

Thanks,
-Brad



More information about the cmake-developers mailing list