Extend Version Reporting
With this MR, the command line option --version
prints a bit more information:
- The build environment if set (set in CI and Docker)
- Versions of Boost.Random and ROOT
- Version of Geant4 if compiled with it
$ allpix --version
Allpix Squared version v2.0.0+139^gdd10f294e (CI)
built on 2021-09-15, 19:09:51 UTC
using Boost.Random 1.74.0
ROOT 6.20/09
Geant4 1070
Copyright (c) 2017-2021 CERN and the Allpix Squared authors.
This software is distributed under the terms of the MIT License.
In applying this license, CERN does not waive the privileges and immunities
granted to it by virtue of its status as an Intergovernmental Organization
or submit itself to any jurisdiction.