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

feat(cmake): add ixm_fallback function #37

Merged
merged 1 commit into from
Mar 17, 2025
Merged

Conversation

bruxisma
Copy link
Member

This brings a new function, ixm_fallback, which replaces an internal command 🈯::ixm::default, and is now available for consumers. This command is used to assign values to variables that have not yet been defined. This is most useful when cmake_parse_arguments has been called and an optional value was not passed in to the user.

Behavior regarding it's interaction with CMP0174 has been documented as well.

This brings a new function, `ixm_fallback`, which replaces an internal
command `🈯::ixm::default`, and is now available for consumers. This
command is used to assign values to variables that have not yet been
defined. This is most useful when `cmake_parse_arguments` has been
called and an optional value was not passed in to the user.

Behavior regarding it's interaction with CMP0174 has been documented as
well.

Signed-off-by: Izzy Muerte <[email protected]>
@bruxisma bruxisma merged commit a62bb9a into main Mar 17, 2025
6 checks passed
@bruxisma bruxisma deleted the feature/ixm-fallback-fn branch March 17, 2025 08:18
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