Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow static libs #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

hefroy
Copy link

@hefroy hefroy commented Sep 27, 2023

  • Remove SHARED option from add_library to allow static libs, CMake then respects the standard BUILD_SHARED_LIBS option.
  • Use singleton LoggerImpl to avoid problems with static lib startup order.
  • Fix uninitialized member variable (found using valgrind).

These two issues were resolved by commit e3818cb

@hefroy hefroy force-pushed the allow-static-libs branch 3 times, most recently from 46b983a to 7429731 Compare October 11, 2023 12:23
@hefroy hefroy changed the title Allow static libs Allow static libs, fix uninitialized member variable Oct 11, 2023
@hefroy hefroy changed the title Allow static libs, fix uninitialized member variable Allow static libs Dec 22, 2023
- Remove SHARED option from add_library to allow static libs,
  CMake then respects the standard BUILD_SHARED_LIBS option.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant