Re: [CMake] link_libraries() deprecated. Why?

2009-04-03 Thread Marcel Loose
So, what am I to do? Should I file a bug report for this? If so, what should I put in it, cause it's not really a bug. It would at least be good to know if deprecated features will ever be removed, or if I need to set one or more policies. Best regards, Marcel Loose. On Thu, 2009-04-02 at 08:27

Re: [CMake] link_libraries() deprecated. Why?

2009-04-03 Thread Marcel Loose
Hi Alex, Thanks for the clarification. The difference between the two is subtle, but I think I understand what you mean. I'll play a bit with both commands to see which one fits best for me. Best regards, Marcel Loose. P.S.: Our posts crossed, so you can ignore my question about filing a bug.

Re: [CMake] link_libraries() deprecated. Why?

2009-04-02 Thread Marcel Loose
Hi Philip, Thanks for your reply. Your solution is ok, but it looks a bit like a workaround for a feature that is missing, but was once there: link_libraries(). To me, it's not really clear why link_libraries() has been deprecated and, for example, include_directories() has not. IMHO, using

Re: [CMake] link_libraries() deprecated. Why?

2009-04-02 Thread Philip Lowman
On Thu, Apr 2, 2009 at 4:03 AM, Marcel Loose lo...@astron.nl wrote: Hi Philip, Thanks for your reply. Your solution is ok, but it looks a bit like a workaround for a feature that is missing, but was once there: link_libraries(). To me, it's not really clear why link_libraries() has been

Re: [CMake] link_libraries() deprecated. Why?

2009-04-02 Thread Brad King
Alex, Looking at history I see this was deprecated by a patch you sent me. Originally we called the command 'discouraged'. Why did we change to 'deprecated'? Marcel Loose wrote: Thanks for your reply. Your solution is ok, but it looks a bit like a workaround for a feature that is missing, but

Re: [CMake] link_libraries() deprecated. Why?

2009-04-02 Thread Alexander Neundorf
On Thursday 02 April 2009, Brad King wrote: Alex, Looking at history I see this was deprecated by a patch you sent me. Originally we called the command 'discouraged'. Why did we change to 'deprecated'? I don't remember why we changed the wording. The deprecated commands are commands which

[CMake] link_libraries() deprecated. Why?

2009-04-01 Thread Marcel Loose
Hi all, I was wondering why the link_libraries() command has been deprecated. Commands like include_directories() and link_directories() which have the same scope have not been deprecated. I think that link_libraries() has its virtues too. My reason for asking this, is that I wonder what's the

Re: [CMake] link_libraries() deprecated. Why?

2009-04-01 Thread Philip Lowman
On Wed, Apr 1, 2009 at 5:35 PM, Marcel Loose lo...@astron.nl wrote: Hi all, I was wondering why the link_libraries() command has been deprecated. Commands like include_directories() and link_directories() which have the same scope have not been deprecated. I think that link_libraries() has