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

add support for addons #239

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

DavidLokison
Copy link
Contributor

No description provided.

@DavidLokison
Copy link
Contributor Author

Addons would be supported by following means:

  • add_addon(addon-dir) instead of add_subdirectory(addon-dir) in the CMakeLists.txt to flag a subdirectory as an addon. It only gets added to the project if the addon is enabled
  • add_addon_hook(addon-dir) where you usually would fips_deps to mark the fips dependency as addon-specific. It only gets added to the dependency list if the addon is enabled
  • an Addons array in the projectinfo.json with a list of strings for the addon directories to be included. This enables the addons and provides build flags like WITH_NEBULA_ADDON_{ADDON-DIR} to mark the addon-calling code.

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