The exports.h headers used in the Calligra are outdated. Replacing them with standard CMake export definitions will lead to a simpler and more robust build.
A few complications prevent us from doing this all at once.
- As much as possible, differences between Calligra 2.9 and Frameworks should be minimized.
- CMake does not provide a programmatic way define TEST_EXPORT symbols.
- The idiosyncrasies need to be ironed out so that eventually all exports.h headers can be removed. The ideal would be to replace all the existing code with a single CMake macro.