Skip to content

Rewrite CMake configuration in "modern CMake"

Marco Clemencic requested to merge cmake-modernization into master

Rewrite of LHCb CMake configuration along the lines of gaudi/Gaudi!922 (closed) (and gaudi/Gaudi!986 (merged)).

The main changes are:

  • public headers moved into include directories
  • all external dependencies collected in the cmake/LHCbDependencies.cmake file
  • removed *Sys packages
  • cleaned up the internal dependencies (link only what is actually needed)

It requires

Downstream projects require a few backward compatible fixes due to a more strict configuration in LHCb:

Missing bits

  • custom environment(?)
  • refactoring
  • Detector/DD4hep support
  • move the remaining 2 local dependencies to the global deps file
Edited by Marco Clemencic

Merge request reports