Re: how to add .cxx file to be compiled and linked
Ok, thanks. It works... Régis Perdreau Le lun. 15 avr. 2019 à 16:39, Stephan Bergmann 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. > ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: how to add .cxx file to be compiled and linked
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. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
how to add .cxx file to be compiled and linked
Hi, 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 ? I'm a bit stuck at this moment. Régis Perdreau ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice