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

Use the Key4hepConfig flag to set the standard, compiler flags and rpath magic. #359

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

jmcarcell
Copy link
Member

@jmcarcell jmcarcell commented Sep 8, 2024

Several settings for Key4hep packages have been being set manually in CMakeLists.txt and they differ between different packages. A new file Key4hepConfig.cmake with some common settings was created (key4hep/key4hep-dev-utils#5) and pushed to several repositories and these are the cmake changes needed to use them.

The file Key4hepConfig.cmake is already in the repositories, so it doesn't need to be added. It was pushed but is not being used anywhere.

BEGINRELEASENOTES

  • Use the Key4hepConfig flag to set the standard, compiler flags and rpath magic.
  • For EDM4hep, the standard keeps being C++20 and the rpath is set as it was before. For the compiler flags -Wshadow is added on top of the existing ones.

ENDRELEASENOTES

@tmadlener
Copy link
Contributor

Can we put changes (or absence thereof) of behavior into the release notes here as well?

@jmcarcell
Copy link
Member Author

I added a line with the changes.

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