[cmake-developers] TARGET property LOCATION

Marcel Loose loose at astron.nl
Mon Dec 2 03:19:38 EST 2013


On 01/12/13 09:34, Nils Gladitz wrote:
> On 30.11.2013 20:49, Marcel Loose (Astron) wrote:
>> According to the CMake documentation, the TARGET property LOCATION for a
>> non-imported target is provided for compatibility with CMake 2.4 and
>> below. My question is: are there any plans to deprecate this property? I
>> want to know, because AFAIK, the only way to determine the full path to
>> a built target is to use this property.
>>
> This is from the documentation of the master branch (which will
> eventually become 3.0):
>     http://www.cmake.org/cmake/help/git-master/policy/CMP0026.html
>
> Nils
Hi Nils,

Thanks for that pointer.

What would be the preferred way to pass the location of a built
executable target to ADD_TEST? By using the COMMAND option of ADD_TEST,
or by using the $<TARGET_FILE> generator expression?

Best regards,
Marcel Loose.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: loose.vcf
Type: text/x-vcard
Size: 292 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20131202/f04b4014/attachment.vcf>


More information about the cmake-developers mailing list