how to integrate extension while compilation of LibreOffice .

I am newbie in building a LibreOffice. 1. Can I integrate extension/ plugin in the build of LibreOffice? 2. If yes How to integrate extension in LibreOffice build. So that a single installer of Libre Office will be available for user that will install LibreOffice along with the extension. 3. Kindly indicate Procedure to integrate extension while compilation of LibreOffice .