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

cmake: Overhaul downstream config to properly export version and dependencies #230

Merged
merged 6 commits into from
Jan 16, 2025

Conversation

tmadlener
Copy link
Contributor

@tmadlener tmadlener commented Sep 3, 2024

BEGINRELEASENOTES

  • Configure the k4FWCoreConfig.cmake to put a bit more information in there
    • Make sure all dependencies are also found for dependent packages
    • Make sure dependency versions are discovered again consistently
    • Make sure to export the current k4FWCore version for downstream consumers

ENDRELEASENOTES

There are a few things that we could also address while we are here

Fixes #166

@tmadlener
Copy link
Contributor Author

I think we need at least podio 1.0 in any case.

After the discussion at todays meeting it looks like k4FWCore handles all the things also for older podio versions, so we can keep the compatibility for now.

@tmadlener tmadlener force-pushed the cmake-config-fixes branch 2 times, most recently from f09f222 to eb6a2b7 Compare September 17, 2024 12:43
CMakeLists.txt Outdated Show resolved Hide resolved
@tmadlener tmadlener changed the title cmake: Overhaul downstream config and a few minor fixes cmake: Overhaul downstream config to properly export version and dependencies Oct 8, 2024
- Make sure all required dependencies are also detected in downstream
  users
- Add some legacy variables
Move all downstream related config to one file
@tmadlener
Copy link
Contributor Author

I think this is ready to be merged now.

Co-authored-by: Mateusz Jakub Fila <[email protected]>
@jmcarcell jmcarcell merged commit ce56844 into key4hep:main Jan 16, 2025
6 of 7 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.

Missing version information in CMake configuration
3 participants