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

Re: Using qplatformdefs.h

2012-11-28 Thread David Faure
On Monday 26 November 2012 09:32:31 Stephen Kelly wrote: > David Faure wrote: > > KF5-with-Qt5 compilation is currently broken because we can't locate > > qplatformdefs.h > > > > This used to come from this line: > > tier1/kcoreaddons/src/CMakeLists.txt: 74: > > include_directories(${QT_MKSPECS_DI