kde4_add_plugin on KF5

Sebastian Kügler sebas at kde.org
Fri Sep 20 09:31:23 UTC 2013


On Friday, September 20, 2013 01:38:19 Aleix Pol wrote:
> Ah, right. So maybe I can just change those to add_library(MODULE) and
> forget about macros, right?

Then you end up with a lib prefix for plugins, which should be removed. 
(Otherwise, we'll probably need to change plugin naming logic elsewhere.)

The removal of the lib prefix is already done in the Plasma macro. If it were 
one line, I'd not use a macro, but with this, I prefer a macro for two 
reasons:

- easier to get right
- easier to port

Cheers,
-- 
sebas

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9


More information about the Kde-frameworks-devel mailing list