Superbuild: install step creates build/run_pbwo4 symlink pointing at
the executable in build/minicalosim-build/.
Regular build: CMAKE_RUNTIME_OUTPUT_DIRECTORY ensures the executable
lands in build/ regardless of generator.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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>