cosmoscout / cosmoscout-vr

:milky_way: A virtual universe which lets you explore, analyze and present huge planetary datasets and large simulation data in real-time.
Other
351 stars 27 forks source link

Move tools to a plugin library #309

Closed JonasGilg closed 1 year ago

JonasGilg commented 1 year ago

This PR adds a new type of plugin called a plugin library. Plugin libraries are also located in the plugins folder, but are prefixed with csl, instead of csp.

I tested the loading of csl-tools with a copy of measurement tools on Windows. I did the following tests:

To ensure that csl-tools was only loaded once, I logged the memory address of the logger.

Resolves #301

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 3273082836


Changes Missing Coverage Covered Lines Changed/Added Lines %
plugins/csp-measurement-tools/src/PathTool.cpp 0 1 0.0%
plugins/csl-tools/src/DeletableMark.cpp 0 2 0.0%
plugins/csl-tools/src/MultiPointTool.cpp 0 2 0.0%
plugins/csl-tools/src/Mark.cpp 0 3 0.0%
plugins/csl-tools/src/logger.cpp 0 3 0.0%
plugins/csp-measurement-tools/src/EllipseTool.cpp 0 5 0.0%
<!-- Total: 0 16 0.0% -->
Totals Coverage Status
Change from base Build 3249311940: -0.0004%
Covered Lines: 491
Relevant Lines: 16307

💛 - Coveralls