[cmake-developers] Setting target properties before the target is defined ?
Brad King
brad.king at kitware.com
Fri Feb 15 17:13:06 EST 2013
On 02/15/2013 04:37 PM, Alexander Neundorf wrote:
> So is it possible to refer to not-yet-defined targets from tll(), and what
> happens if they get not defined later on ?
This works at it always has. If the named item does not resolve to a
target name at generate time it is treated as a raw library (-lfoo).
If it does resolve to a target then now the usage requirements will
be applied from its interface properties. The decision now occurs
at generate time.
-Brad
More information about the cmake-developers
mailing list