Skip to content

CMake: Add deprecated_names option to sundials_option#842

Open
gardner48 wants to merge 4 commits intodevelopfrom
cmake/deprecated-options
Open

CMake: Add deprecated_names option to sundials_option#842
gardner48 wants to merge 4 commits intodevelopfrom
cmake/deprecated-options

Conversation

@gardner48
Copy link
Member

  • Add DEPRECATED_NAMES option to sundials_option to handle deprecating an existing option's name
  • Update existing deprecated options to use DEPRECATED_NAMES
  • Add documentation on CMake naming conventions
  • Add support for auto generating documentation for CMake macros and functions

@gardner48
Copy link
Member Author

gardner48 commented Feb 3, 2026

This PR extracts some of the changes from #837 to consistently prefix CMake options with SUNDIALS_

unset(SUPERLUDIST_ENABLE CACHE)
endif()
# ---------------------------------------------------------------
# Deprecated options that can not use the DEPRECATED_NAMES option to
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# Deprecated options that can not use the DEPRECATED_NAMES option to
# Deprecated options that can not use the DEPRECATED_NAMES option of

@balos1 balos1 added this to the SUNDIALS Next milestone Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants