Skip to content

Clean-up of Geo2G4/CmakeLists.txt

The main purpose of this merge request is to tidy up the Geo2G4/CMakeLists.txt file a bit. A few dependencies of Geo2G4Lib were moved from being private to public. The dependent component library and dictionary then only need to link against Geo2G4Lib. NB It is necessary for Geo2G4Lib to link against GeoPrimitives publicly as GeoModelKernel does not seem to provide the Eigen headers.

I cleaned-up a two other includes in this package at the same time:

  • Removed self-include from Geo2G4AssemblyFactory.h
  • Moved include of Geo2G4AssemblyVolume.h from Geo2G4Svc.h to Geo2G4Svc.cxx

This should go in after !34701 (merged).

Edited by John Derek Chapman

Merge request reports