Created helper files including all headers per library and linking against
the library to test which libs need to be in the public link interface.
All normal & playground plugins still built against KDevPlatform.
Details
- Reviewers
apol - Group Reviewers
KDevelop - Commits
- R32:86b746ce5325: Clean up link interfaces of KDevPlatform libraries
Diff Detail
- Repository
- R32 KDevelop
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Cmp. also downstream patch https://build.opensuse.org/package/view_file/KDE:Unstable:Extra/kdevelop5/reduce_dependencies.diff?expand=1 (which still has KF5Parts as well, even though that is transitive pulled in by KF5TextEditor)
"Created helper files including all headers per library and linking against the library to test which libs need to be in the public link interface."
That had been done manually/ugly scripting. Ideally would be something that can be automatically tested by some cmake magic, no complete idea yet how to do that.
This is brilliant, I wonder why opensuse wouldn't send such patches upstream!
Do you know if there's any tool that tests this? We could include it in build.kde.org.
Well, they poked us about it, but we only created a bug report as reminder ;) https://bugs.kde.org/show_bug.cgi?id=383491 Which now reminded me :)
Do you know if there's any tool that tests this? We could include it in build.kde.org.
No idea. There has been talk by people (incl. me) to do something like it, but to no results AFAIK. Same also for testing self-contained installed headers.