how to add .cxx file to be compiled and linked

Regis Perdreau regis.perdreau at gmail.com
Mon Apr 15 14:57:55 UTC 2019


Ok, thanks.  It works...


Régis Perdreau



Le lun. 15 avr. 2019 à 16:39, Stephan Bergmann <sbergman at redhat.com> a
écrit :

> On 15/04/2019 16:31, Regis Perdreau wrote:
> > I have added a file in, for example,  like
> > core/slideshow/engine/slide/test.cxx  with a method in it.
> > I have add with 'git add' to my work local branch repository
> > I expect that it will be compiled like the other files...but ... it
> > seems to be ignored
> > and  the linker fails because a method description is missing (include
> > test.hxx is ok)
> > Is there any something simple that i have forgotten ?
>
> You must add it to the gb_Library_add_exception_objects of some
> Library_*.mk, presumably slideshow/Library_slideshow.mk in your case.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20190415/2fb5376d/attachment.html>


More information about the LibreOffice mailing list