martin-olivier / dylib

C++ cross-platform wrapper around dynamic loading of shared libraries (dll, so, dylib)
https://conan.io/center/recipes/dylib
MIT License
293 stars 44 forks source link

Misc improvements #61

Closed rmaxi-me closed 2 years ago

rmaxi-me commented 2 years ago

Description

Hey dear friend, I was bored and thought I'd improve some stuff! :smile:

Here is a recap, there are more details in my commit descriptions:

Changes include

Breaking changes

Changed BUILD_TESTS to DYLIB_BUILD_TESTS in cmake.
Updated all references and the README.
But projects depending on this variable may need to update.

Even if not really needed, I think it's important to prefix variables with the project name to avoid collisions with other libs/projects.

Checklist

Additional comments

For more detailed explanations, please read my commit messages as to why I did those changes.

codecov[bot] commented 2 years ago

Codecov Report

Merging #61 (0af75bb) into main (0bdef6c) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #61   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           59        59           
  Branches         3         3           
=========================================
  Hits            59        59           
Impacted Files Coverage Δ
include/dylib.hpp 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

rmaxi-me commented 2 years ago

Cannot assign myself nor add a reviewer :sweat_smile: