On 02/28/2013 01:15 PM, Alexander Neundorf wrote:
> I am talking from the POV not of the developer using Foo itself, but from a 
> user trying to just build the project.
> Using a variable, it is obvious when looking at the cmake code:
> tll(hello ... ${Foo_LIBRARIES} )
> 
> using a literal, it is not:
> tll(hello ... foo )

Imported targets with namespaces like Qt5::QtCore are pretty obvious.

> So since yesterday I think I'll stay with recommending using and documenting 
> PackageName_LIBRARIES variables, and keep the targets internal.

Fine with me.

-Brad
--

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

Reply via email to