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

Support configuring enabled builtins using CMake options #30

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

tschneidereit
Copy link
Member

This modifies the add_builtin CMake function to derive a CMake option from the name of the builtin, and only to only install the builtin if that option is set.

The README.md is also modified to document how to get a list of all available builtins, and whether they're enabled by default.

Note that this mechanism will automatically apply to CMake projects using StarlingMonkey, too.

This modifies the `add_builtin` CMake function to derive a CMake option from the name of the builtin, and only to only install the builtin if that option is set.

The README.md is also modified to document how to get a list of all available builtins, and whether they're enabled by default.

Note that this mechanism will automatically apply to CMake projects using StarlingMonkey, too.
Copy link
Contributor

@guybedford guybedford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this out and confirmed it is working for disabling features.

@tschneidereit tschneidereit merged commit e15b39f into main Apr 18, 2024
1 check passed
@tschneidereit tschneidereit deleted the feature-flags branch April 18, 2024 11:29
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