On Thursday 05 September 2013 17:02:47 Pali Rohár wrote: > > - Move most of Trojita into a shared library, > > libtrojitaprivate.so - Let both the standalone GUI version > > and the Kontact plugin link with libtrojitaprivate.so > > Ok, no problem. >
One problem is there. CMake should not create any static libraries like: add_library(Streams ${libStreams_SOURCES}) add_library(qwwsmtpclient ${libqwwsmtpclient_SOURCES}) ... But every source C++ file must be added directly to libtrojitaprivate (otherwise link hack is needed) add_library(trojitaprivate ${libStreams_SOURCES} ${libqwwsmtpclient_SOURCES ...) This means radical CMakeLists.txt changes... -- Pali Rohár pali.ro...@gmail.com
signature.asc
Description: This is a digitally signed message part.