Loading CMakeLists.txt +1 −0 Original line number Diff line number Diff line Loading @@ -355,6 +355,7 @@ ADD_SUBDIRECTORY(src/modules) # Build geant4 interface library if needed by modules IF(${ALLPIX_BUILD_GEANT4_INTERFACE}) ADD_SUBDIRECTORY(src/tools/geant4) ADD_DEFINITIONS(-DALLPIX_GEANT4_AVAILABLE) ENDIF() # Build the executable Loading src/exec/allpix.cpp +7 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,10 @@ #include "core/utils/exceptions.h" #include "core/utils/log.h" #ifdef ALLPIX_GEANT4_AVAILABLE #include <G4Version.hh> #endif using namespace allpix; void clean(); Loading Loading @@ -116,6 +120,9 @@ int main(int argc, const char* argv[]) { << BOOST_VERSION % 100 // patch level << std::endl; std::cout << " ROOT " << ROOT_RELEASE << std::endl; #ifdef ALLPIX_GEANT4_AVAILABLE std::cout << " Geant4 " << G4VERSION_NUMBER << std::endl; #endif std::cout << std::endl; std::cout << "Copyright (c) 2017-2021 CERN and the Allpix Squared authors." << std::endl << std::endl; std::cout << "This software is distributed under the terms of the MIT License." << std::endl; Loading Loading
CMakeLists.txt +1 −0 Original line number Diff line number Diff line Loading @@ -355,6 +355,7 @@ ADD_SUBDIRECTORY(src/modules) # Build geant4 interface library if needed by modules IF(${ALLPIX_BUILD_GEANT4_INTERFACE}) ADD_SUBDIRECTORY(src/tools/geant4) ADD_DEFINITIONS(-DALLPIX_GEANT4_AVAILABLE) ENDIF() # Build the executable Loading
src/exec/allpix.cpp +7 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,10 @@ #include "core/utils/exceptions.h" #include "core/utils/log.h" #ifdef ALLPIX_GEANT4_AVAILABLE #include <G4Version.hh> #endif using namespace allpix; void clean(); Loading Loading @@ -116,6 +120,9 @@ int main(int argc, const char* argv[]) { << BOOST_VERSION % 100 // patch level << std::endl; std::cout << " ROOT " << ROOT_RELEASE << std::endl; #ifdef ALLPIX_GEANT4_AVAILABLE std::cout << " Geant4 " << G4VERSION_NUMBER << std::endl; #endif std::cout << std::endl; std::cout << "Copyright (c) 2017-2021 CERN and the Allpix Squared authors." << std::endl << std::endl; std::cout << "This software is distributed under the terms of the MIT License." << std::endl; Loading