https://bugs.documentfoundation.org/show_bug.cgi?id=146266
Bug ID: 146266
Summary: Move test/demo/workbench from the old build system to
the new gbuild system
Product: LibreOffice
Version: 7.4.0.0 alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: difficultyMedium, easyHack, skillCpp, topicCleanup
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Several years ago, the old LibreOffice build system is migrated to the new
gbuild system. But, there are still few instances of the old build system
remaining. If you look for makefile.mk inside the LibreOffice core source, you
will find them:
find -name makefile.mk
https://opengrok.libreoffice.org/search?project=core&path=makefile.mk
Each of the remaining sub-projects that still use the old build system are a
kind of test, demo or workbench. The task here is to use the new build system
for each one of the remaining stuff.
You should determine what to do with the old stuff:
1) If it is a test, the best option would be to convert it to an automated
test, preferably using cppunit.
https://wiki.documentfoundation.org/QA/Testing/Automated_Tests
https://wiki.documentfoundation.org/Cppunit
2) If it is a demo, or a workben(ch) that have a main() inside it, you can
rewrite the makefile to use the new build system. You should take a look at the
examples like vcldemo, mtfdemo, etc. There is a little chance that the result
works out of the box, and you may have to overhaul the cpp files in order to be
able to build and run it successfully. The result is expected to be run like
mtfdemo and similar examples.
/bin/run mtfdemo
--
You are receiving this mail because:
You are the assignee for the bug.