Files
minicalosim/superbuild
lars e265a6aa63 add superbuild to compile Geant4 from submodule source
superbuild/CMakeLists.txt uses ExternalProject_Add to give three targets:

  cmake -B build -S superbuild/
  cmake --build build --target geant4      # build Geant4 → build/geant4-install
  cmake --build build --target run_pbwo4   # build minicalosim against it
  cmake --build build                      # both

The existing root CMakeLists.txt (find_package Geant4) is unchanged
for the system-Geant4 workflow.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 10:41:47 +02:00
..