Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

CMake: Split Library and Plugin types into PROBE and UI; support BUILD_SHARED_LIBS #930

Closed
wants to merge 1 commit into from

Conversation

Kentzo
Copy link
Contributor

@Kentzo Kentzo commented Jan 17, 2024

User's choice of what's to be built is disambiguated from how it's built. Both static and shared builds of both library and plugins is now supported.

@CLAassistant
Copy link

CLAassistant commented Jan 17, 2024

CLA assistant check
All committers have signed the CLA.

@Kentzo Kentzo force-pushed the fix-lib-type branch 9 times, most recently from ebfff5a to 02a4241 Compare January 18, 2024 03:07
…D_SHARED_LIBS

User's choice of what's to be built is disambiguated from
how it's built. Both static and shared builds of both library
and plugins is now supported.
@Kentzo
Copy link
Contributor Author

Kentzo commented Jan 18, 2024

WIP and open for discussion.

@Kentzo
Copy link
Contributor Author

Kentzo commented Jan 18, 2024

The idea was to allow static probes alongside non-static UI. To achieve this pretty much every library needs to be split into static and shared versions with actual build path determined by config variables. That's doable, but probably too much effort when what's needed is just two variants of the project:

  1. UI and shared probes for runtime injection
  2. No UI but a static probe library for compile-time injection

For [2] some modifications are still necessary to make sure that static probe libraries carries all dependencies in itself.

@Kentzo Kentzo closed this Jan 19, 2024
@Kentzo
Copy link
Contributor Author

Kentzo commented Jan 19, 2024

Closed in favor of #936

@Kentzo Kentzo deleted the fix-lib-type branch January 19, 2024 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants