Re: add_library NO_PREFIX

2012-12-14 Thread Kevin Ottens
On Wednesday 12 December 2012 22:22:28 Alexander Neundorf wrote: > On Wednesday 12 December 2012, Kevin Ottens wrote: > > On Wednesday 12 December 2012 21:27:28 Alexander Neundorf wrote: > > > On Monday 10 December 2012, Kevin Ottens wrote: > > > > On Monday 03 December 2012 21:57:05 Kevin Ottens w

Re: add_library NO_PREFIX

2012-12-13 Thread Alexander Neundorf
On Thursday 29 November 2012, David Faure wrote: > On Thursday 29 November 2012 09:36:33 Alexander Neundorf wrote: > > On Thursday 29 November 2012, David Faure wrote: > > > On Thursday 29 November 2012 09:08:05 Alexander Neundorf wrote: > > > > In KDE4 we do it this way because we did it this way

Re: add_library NO_PREFIX

2012-12-12 Thread Alexander Neundorf
On Wednesday 12 December 2012, Kevin Ottens wrote: > On Wednesday 12 December 2012 21:27:28 Alexander Neundorf wrote: > > On Monday 10 December 2012, Kevin Ottens wrote: > > > On Monday 03 December 2012 21:57:05 Kevin Ottens wrote: > > > > On Thursday 29 November 2012 09:08:05 Alexander Neundorf wr

Re: add_library NO_PREFIX

2012-12-12 Thread Kevin Ottens
On Wednesday 12 December 2012 21:27:28 Alexander Neundorf wrote: > On Monday 10 December 2012, Kevin Ottens wrote: > > On Monday 03 December 2012 21:57:05 Kevin Ottens wrote: > > > On Thursday 29 November 2012 09:08:05 Alexander Neundorf wrote: > > > > [...] > > > > So at least it seems to be quite

Re: add_library NO_PREFIX

2012-12-12 Thread Alexander Neundorf
On Monday 10 December 2012, Kevin Ottens wrote: > On Monday 03 December 2012 21:57:05 Kevin Ottens wrote: > > On Thursday 29 November 2012 09:08:05 Alexander Neundorf wrote: > > > [...] > > > So at least it seems to be quite common to have no prefix for plugins. > > > > OK, thanks for checking. I'

Re: add_library NO_PREFIX

2012-12-10 Thread Kevin Ottens
On Monday 03 December 2012 21:57:05 Kevin Ottens wrote: > On Thursday 29 November 2012 09:08:05 Alexander Neundorf wrote: > > [...] > > So at least it seems to be quite common to have no prefix for plugins. > > OK, thanks for checking. I'll send my patch as is. OK, tried to send it twice, and it n

Re: add_library NO_PREFIX

2012-12-03 Thread Kevin Ottens
On Thursday 29 November 2012 09:08:05 Alexander Neundorf wrote: > [...] > So at least it seems to be quite common to have no prefix for plugins. OK, thanks for checking. I'll send my patch as is. Regards. -- Kévin Ottens, http://ervin.ipsquad.net KDAB - proud patron of KDE, http://www.kdab.com

Re: add_library NO_PREFIX

2012-11-29 Thread David Faure
On Thursday 29 November 2012 09:36:33 Alexander Neundorf wrote: > On Thursday 29 November 2012, David Faure wrote: > > On Thursday 29 November 2012 09:08:05 Alexander Neundorf wrote: > > > In KDE4 we do it this way because we did it this way in KDE3. ;-) > > > Personally I don't care much whether p

Re: add_library NO_PREFIX

2012-11-29 Thread Alexander Neundorf
On Thursday 29 November 2012, Sune Vuorela wrote: > On 2012-11-29, Alexander Neundorf wrote: > > At least it is possible: > It is possible on some systems. I think it might be limited to a GNU > userland on unix-like systems, if not limited to GNU userland on linux. (Without checking...) CMake sw

Re: add_library NO_PREFIX

2012-11-29 Thread Sune Vuorela
On 2012-11-29, Alexander Neundorf wrote: > At least it is possible: It is possible on some systems. I think it might be limited to a GNU userland on unix-like systems, if not limited to GNU userland on linux. It is at least according to some windows people not possible to do so on windows. /Sun

Re: add_library NO_PREFIX

2012-11-29 Thread Alexander Neundorf
On Thursday 29 November 2012, David Faure wrote: > On Thursday 29 November 2012 09:08:05 Alexander Neundorf wrote: > > In KDE4 we do it this way because we did it this way in KDE3. ;-) > > Personally I don't care much whether plugins have a "lib" prefix or not. > > Not having the "lib" prefix can b

Re: add_library NO_PREFIX

2012-11-29 Thread David Faure
On Thursday 29 November 2012 09:08:05 Alexander Neundorf wrote: > In KDE4 we do it this way because we did it this way in KDE3. ;-) > Personally I don't care much whether plugins have a "lib" prefix or not. Not > having the "lib" prefix can be interpreted as a hint that this file is not > a normal

Re: add_library NO_PREFIX

2012-11-29 Thread Alexander Neundorf
On Thursday 29 November 2012, Kevin Ottens wrote: > On Thursday 29 November 2012 08:37:15 Alexander Neundorf wrote: > > On Thursday 29 November 2012, Kevin Ottens wrote: > > > Hello, > > > > > > We currently have kde4_add_plugin calls in our cmake files, they can be > > > replaced with: > > > add_

Re: add_library NO_PREFIX

2012-11-28 Thread Kevin Ottens
On Thursday 29 November 2012 08:37:15 Alexander Neundorf wrote: > On Thursday 29 November 2012, Kevin Ottens wrote: > > Hello, > > > > We currently have kde4_add_plugin calls in our cmake files, they can be > > replaced with: > > add_library(foo MODULE ${foo_SRCS}) > > set_target_properties(foo PRO

Re: add_library NO_PREFIX

2012-11-28 Thread Alexander Neundorf
On Thursday 29 November 2012, Kevin Ottens wrote: > Hello, > > We currently have kde4_add_plugin calls in our cmake files, they can be > replaced with: > add_library(foo MODULE ${foo_SRCS}) > set_target_properties(foo PROPERTIES PREFIX "") > > It's not exactly nice API wise, so after discussing w

add_library NO_PREFIX

2012-11-28 Thread Kevin Ottens
Hello, We currently have kde4_add_plugin calls in our cmake files, they can be replaced with: add_library(foo MODULE ${foo_SRCS}) set_target_properties(foo PROPERTIES PREFIX "") It's not exactly nice API wise, so after discussing with David, he got the idea of an extra option to add_library whi