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

Set C++ standard also for client code using CMake #2037

Merged

Conversation

auto-differentiation-dev
Copy link
Contributor

This makes the cxx_std_17 a compile feature of the library, meaning that it will be propagated to client code with CMake, that uses find_package(QuantLib). Any code linking to QuantLib after that will get the C++ standard flags (can be overridden).

This avoids that client code needs to be modified when QuantLib changes its default C++ standard.

@coveralls
Copy link

Coverage Status

coverage: 72.623%. remained the same
when pulling e41bbde on auto-differentiation-dev:propagate-cxx-standard
into 7432f80 on lballabio:master.

@lballabio lballabio added this to the Release 1.36 milestone Jul 29, 2024
@lballabio lballabio merged commit 3a3ea73 into lballabio:master Jul 29, 2024
41 checks passed
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.

3 participants