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

Alexander Neundorf neundorf at kde.org
Fri Feb 15 15:03:28 EST 2013


Hi,

I think I saw somewhere in one of the threads something about being able to 
set target properties before the target has been defined.

Is this the case or did I misunderstand something ?

If it's the case, then I have a few questions regarding this.
Is this scheduled for 2.8.11 ?
What happens, if a property has been set for a not-yet-defined target, and the 
target has actually never been defined afterwards ?
Is this handled as an error, and if not, could this be made an error ?

If that's the case, then I could maybe use this feature for checking whether 
all required targets for an imported target have been created.

Alex



More information about the cmake-developers mailing list