<font color='black' size='2' face='arial'><font size="2" color="black" face="arial">

<div> What does TARGET_DEFINED actually mean?<br>
<br>
<font size="2">That it exists as a t<font size="2">arget at generat<font size="2">e time?<font size="2"><font size="2"> </font>Is it useful so you can reference a target *<font size="2">before* <font size="2">you know at CMake-con<font size="2">figure time wh<font size="2">ether there is such<font size="2"> a target yet, or is it something else?</font></font></font></font></font></font><br>
</font></font></font>
</div>



<div> <br>
<font size="2">I think "defined" or "exists"</font> are both good names for that concept.<br>
<br>
<font size="2">Otherwise, if i<font size="2">t's something else, I'll need to understand it first before passing judgment on name ideas...<br>
<br>
<br>
<font size="2">;-)<br>
<br>
<font size="2">D<br>
<br>
<br>
</font></font></font></font>
</div>



<div> <br>

</div>



<div style="font-family:arial,helvetica;font-size:10pt;color:black">-----Original Message-----<br>

From: Stephen Kelly <steveire@gmail.com><br>

To: cmake-developers <cmake-developers@cmake.org><br>

Sent: Fri, Feb 8, 2013 2:36 pm<br>

Subject: Re: [cmake-developers] INTERFACE_INCLUDE_DIRECTORIES on STATIC libs<br>

<br>









<div id="AOLMsgPart_0_318b41dd-fa87-4223-88ad-038754791e49" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;">

<pre style="font-size: 9pt;"><tt>Brad King wrote:

> On 02/08/2013 01:46 PM, Stephen Kelly wrote:
>> I think it might make sense to handle them particularly in LINKED, but I
>> notice set_property and set_target_properties also work fine with them
>> (should that be changed too?)

> The ExternalProject module makes heavy use of properties on custom
> targets.
> It is common.  It's just INTERFACE properties that do not make sense.

Ok, implemented for the LINKED expression.


>>, so I don't know if TARGET_PROPERTY should be
>> changed too. If it is, then it makes sense to change TARGET_DEFINED to
>> consider utilities to not be targets, as that expression is most usefully
>> used with TARGET_PROPERTY.

> Perhaps TARGET_DEFINED is not a good name then.  What are we really
> asking?  TARGET_LINKABLE?

That may not be a good name either. It reads generic enough to me to also 
mistake it as accepting libraries.

 $<TARGET_LINKABLE:foo> # Is libfoo.so available in the places 
                        # where cmake looks for it?

I don't really have a better idea at the moment though.

Thanks,

Steve.


--

Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>

Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers</a>
</tt></pre>
</div>

 <!-- end of AOLMsgPart_0_318b41dd-fa87-4223-88ad-038754791e49 -->



</div>

</font></font>