how to add .cxx file to be compiled and linked

Stephan Bergmann sbergman at
Mon Apr 15 14:39:08 UTC 2019

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/ in your case.

More information about the LibreOffice mailing list