David Faure wrote: > On Thursday 19 September 2013 19:39:54 Alexander Neundorf wrote: >> But I think Stephens plan is to get rid of those macros and use plain >> cmake instead, i.e. add_library(... MODULE ...), as with add_executable() >> and add_library(). > > I've always been surprised that cmake doesn't remove the "lib" prefix when > using MODULE.
Note that Qt plugins also start with 'lib'. Was a broader survey ever done? > Starting plugins with "lib" encourages people to confuse > libs and plugins, and to link to plugins -- which is a huge "no no", with > portability in mind. > > The ideal solution IMHO would have been MODULE removing the prefix, but I > guess it's too late for that. > So the second best solution IMHO would be a add_library( ... PLUGIN ...) > or add_plugin(), in cmake itself. Just FYI, we recently discussed the issue of plugins, but with a different particular focus: http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/7970 Thanks, Steve. _______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel