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.
<<attachment: loose.vcf>>
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
