Skip to content

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.

@DavidLokison DavidLokison force-pushed the addons branch 2 times, most recently from c420a21 to 80fe64b Compare February 4, 2025 21:25
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.

1 participant