Apache Celix Features #623
Labels
build/cmake
Categorizes an issue or PR relevant to the cmake build.
kind/feature
Categorizes issue or PR as related to a new feature.
Apache Celix Features
Add support for Apache Celix Features, inspired by Apache Karaf Features. This will allow users to select bundles and link the required libraries for the executable/container using a single entity.
Background
Apache Karaf has a concept of "feature" to make it easier to add a selection of bundles.
Proposed Solution
For Apache Celix, introducing a feature concept would be beneficial, especially for specifying additional linking requirements for the executable/container running the feature-based selected bundles. This is because some bundles depend on system-installed libraries rather than private bundle libraries.
Take the civetweb::civetweb library, for instance. Linking to this library is necessary if an executable/container uses the http_admin:
With the Apache Celix Features concept, this could be arranged by the feature if it supports library configuration. A feature could then be defined in CMake as:
Usage might look like:
Downsides
The text was updated successfully, but these errors were encountered: