smb: split module into two targets of which one is a static lib
ClosedPublic

Authored by sitter on Mar 3 2020, 10:16 AM.

Details

Summary

this allows us to use the intermediate static target for unit testing
(which we'll want for smburl at the very least).
the effective output remains unchanged, we simply have a fake library
now before we turn it into a proper plugin .so.

kdemain as a result was moved to its own file and only gets built into the
final plugin but not the static library as it'd not have any use there
anyway

Test Plan

builds and works still

Diff Detail

Repository
R320 KIO Extras
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
sitter created this revision.Mar 3 2020, 10:16 AM
Restricted Application added projects: Dolphin, Frameworks. · View Herald TranscriptMar 3 2020, 10:16 AM
Restricted Application added subscribers: kfm-devel, kde-frameworks-devel. · View Herald Transcript
sitter requested review of this revision.Mar 3 2020, 10:16 AM
apol accepted this revision.Mar 3 2020, 2:44 PM
apol added a subscriber: apol.

Looks good, it's not being used though so as is it feels wrong.

This revision is now accepted and ready to land.Mar 3 2020, 2:44 PM
This revision was automatically updated to reflect the committed changes.