Re: Using target names directly vs. variables

2013-07-26 Thread David Faure
> [...] > I also still have the impression that I'm the one who took care of the > kde4support issue, that I'm the one who took care of Sune's concerns, that > I'm the one who is generally fixing trouble. > So please give my opinion some weight, to make my life easier. > [...] OK, this is the argu

Re: Using target names directly vs. variables

2013-07-23 Thread Alexander Neundorf
On Monday 22 July 2013, David Faure wrote: > On Sunday 14 July 2013 21:44:38 Alexander Neundorf wrote: > > On Sunday 14 July 2013, David Faure wrote: > > > On Sunday 14 July 2013 11:42:26 Alexander Neundorf wrote: > > > > A good step forward to improve the experience for the user is to > > > > foll

Re: Using target names directly vs. variables

2013-07-23 Thread Benjamin Port
On Monday, July 22, 2013 10:34:33 PM David Faure wrote: > On Sunday 14 July 2013 21:44:38 Alexander Neundorf wrote: > > On Sunday 14 July 2013, David Faure wrote: > > > On Sunday 14 July 2013 11:42:26 Alexander Neundorf wrote: > > > > A good step forward to improve the experience for the user is to

Re: Using target names directly vs. variables

2013-07-22 Thread David Faure
On Sunday 14 July 2013 21:44:38 Alexander Neundorf wrote: > On Sunday 14 July 2013, David Faure wrote: > > On Sunday 14 July 2013 11:42:26 Alexander Neundorf wrote: > > > A good step forward to improve the experience for the user is to follow > > > those naming conventions as good as possible, so t

Re: Using target names directly vs. variables

2013-07-14 Thread Alexander Neundorf
On Sunday 14 July 2013, David Faure wrote: > On Sunday 14 July 2013 11:42:26 Alexander Neundorf wrote: > > A good step forward to improve the experience for the user is to follow > > those naming conventions as good as possible, so that if you do > > > > find_package(WhatEverItIs) > > > > you kno

Re: Using target names directly vs. variables

2013-07-14 Thread David Faure
On Sunday 14 July 2013 11:42:26 Alexander Neundorf wrote: > A good step forward to improve the experience for the user is to follow > those naming conventions as good as possible, so that if you do > > find_package(WhatEverItIs) > > you know, that you can use ${WhateEverItIs_LIBRARIES} and > ${Wh

Using target names directly vs. variables

2013-07-14 Thread Alexander Neundorf
Hi, in CMake, to link against a target, you use its target name: target_link_libraries(hello mylib) That's what we do in kdelibs, and this is fine. In CMake, to make use of an external package, you use find_package(), and then use the variables it provides, as documented in readme.txt and find