[Libreoffice] cppunit support in gbuild.....
Caolán McNamara
caolanm at redhat.com
Mon Apr 4 03:17:52 PDT 2011
On Sun, 2011-04-03 at 14:14 -0500, Norbert Thiebaud wrote:
> Bjoern,
>
> Here is what I got so far (see at then end)
>
> The gbuild side of it is somewhat ok, except for the ugly hack to get
> the right filename to cat in define gb_LinkTarget_add_extra_objects
> There must be a proper way to do that... I just couldn't figure out
> what it was ...
>
> The result is still not working because of a visibility issue.
Yeah, gbuild auto-defaults visibility on, try changing from...
CPPUNIT_PLUGIN_IMPLEMENT();
to...
#define CPPUNIT_PLUGIN_EXPORT extern "C" SAL_DLLPUBLIC_EXPORT
CPPUNIT_PLUGIN_IMPLEMENT();
C.
More information about the LibreOffice
mailing list