Import Geant4 10.7.0.beta source tree
This commit is contained in:
@@ -1,23 +1,9 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# CMakeLists.txt
|
||||
# Module : G4intercoms
|
||||
# Package: Geant4.src.G4intercoms
|
||||
#
|
||||
# CMakeLists.txt for single level library that may be build global or granular
|
||||
#
|
||||
# Generated on : 24/9/2010
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
include(Geant4MacroLibraryTargets)
|
||||
|
||||
# Add allocation export symbol for the geometry category
|
||||
# Add allocation export symbol for the intercoms category
|
||||
add_definitions(-DG4ICOMS_ALLOC_EXPORT)
|
||||
|
||||
if(GEANT4_BUILD_GRANULAR_LIBS)
|
||||
GEANT4_GRANULAR_LIBRARY_TARGET(COMPONENT sources.cmake)
|
||||
else()
|
||||
GEANT4_GLOBAL_LIBRARY_TARGET(COMPONENTS sources.cmake)
|
||||
endif()
|
||||
|
||||
geant4_global_library_target(COMPONENTS sources.cmake)
|
||||
|
||||
@@ -16,8 +16,16 @@ committal in the CVS repository !
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
19 February, 2020 M. Asai (intercoms-V10-05-10)
|
||||
- Accept null string as an alias value. Addressing bug report #2208.
|
||||
18 May, 2020 G. Cosmo (intercoms-V10-06-02)
|
||||
- Removed unnecessary use of deprecated G4USE_STD11 flag in G4AnyMethod.
|
||||
Also indicated in GitHub PR#13.
|
||||
|
||||
19 February, 2020 M. Asai (intercoms-V10-06-01)
|
||||
- Accept null string as an alias value. Addessing to bug report #2208.
|
||||
|
||||
9 December, 2019 B. Morgan (intercoms-V10-06-00)
|
||||
- Cleanup CMake build, removing obsolete granular library option and
|
||||
explicit include_directories.
|
||||
|
||||
26 November, 2019 G. Cosmo (intercoms-V10-05-09)
|
||||
- Fixed more cases of implicit type conversions from size_t to G4int.
|
||||
|
||||
@@ -55,24 +55,9 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
#if defined(G4USE_STD11) || defined(G4USE_STD14)
|
||||
#include <type_traits>
|
||||
using std::remove_reference;
|
||||
using std::remove_const;
|
||||
// original usage below in G4AnyMethod (pre C++11) was without namespace std::
|
||||
// so if compiler has them, make them available without the namespace
|
||||
#else
|
||||
// these are the reference "possible implementations" of a C++11 feature
|
||||
// c.f. http://en.cppreference.com/w/cpp/types/remove_reference
|
||||
// but they clash badly with C++11 definitions supplied by the compiler
|
||||
// so use them only if C++11 is not enabled or there is no possibility
|
||||
// of clashing with the ones defined in std:: namespace
|
||||
// (i.e. avoid "using namespace std")
|
||||
template<typename T> struct remove_reference {typedef T type;};
|
||||
template<typename T> struct remove_reference<T&> {typedef T type;};
|
||||
template<typename T> struct remove_reference<const T&> {typedef T type;};
|
||||
template<typename T> struct remove_const<const T> {typedef T type;};
|
||||
#endif
|
||||
#include <type_traits>
|
||||
using std::remove_reference;
|
||||
using std::remove_const;
|
||||
|
||||
/**
|
||||
* @class G4AnyMethod G4AnyMethod.hh
|
||||
|
||||
@@ -1,92 +1,71 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# sources.cmake
|
||||
# Module : G4intercoms
|
||||
# Package: Geant4.src.G4intercoms
|
||||
#
|
||||
# Sources description for a library.
|
||||
# Lists the sources and headers of the code explicitely.
|
||||
# Lists include paths needed.
|
||||
# Lists the internal granular and global dependencies of the library.
|
||||
# Source specific properties should be added at the end.
|
||||
#
|
||||
# Generated on : 24/9/2010
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# List external includes needed.
|
||||
include_directories(${CLHEP_INCLUDE_DIRS})
|
||||
|
||||
# List internal includes needed.
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPGeometry/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPRandom/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/global/management/include)
|
||||
|
||||
#
|
||||
# Define the Geant4 Module.
|
||||
#
|
||||
include(Geant4MacroDefineModule)
|
||||
GEANT4_DEFINE_MODULE(NAME G4intercoms
|
||||
HEADERS
|
||||
G4AnyMethod.hh
|
||||
G4AnyType.hh
|
||||
G4GenericMessenger.hh
|
||||
G4LocalThreadCoutMessenger.hh
|
||||
G4UIaliasList.hh
|
||||
G4UIbatch.hh
|
||||
G4UIbridge.hh
|
||||
G4UIcmdWith3Vector.hh
|
||||
G4UIcmdWith3VectorAndUnit.hh
|
||||
G4UIcmdWithABool.hh
|
||||
G4UIcmdWithADouble.hh
|
||||
G4UIcmdWithADoubleAndUnit.hh
|
||||
G4UIcmdWithAString.hh
|
||||
G4UIcmdWithAnInteger.hh
|
||||
G4UIcmdWithoutParameter.hh
|
||||
G4UIcommand.hh
|
||||
G4UIcommandStatus.hh
|
||||
G4UIcommandTree.hh
|
||||
G4UIcontrolMessenger.hh
|
||||
G4UIdirectory.hh
|
||||
G4UImanager.hh
|
||||
G4UImessenger.hh
|
||||
G4UIparameter.hh
|
||||
G4UIsession.hh
|
||||
G4UItokenNum.hh
|
||||
G4UnitsMessenger.hh
|
||||
G4VFlavoredParallelWorld.hh
|
||||
G4VGlobalFastSimulationManager.hh
|
||||
icomsdefs.hh
|
||||
SOURCES
|
||||
G4LocalThreadCoutMessenger.cc
|
||||
G4GenericMessenger.cc
|
||||
G4UIaliasList.cc
|
||||
G4UIbatch.cc
|
||||
G4UIbridge.cc
|
||||
G4UIcmdWith3Vector.cc
|
||||
G4UIcmdWith3VectorAndUnit.cc
|
||||
G4UIcmdWithABool.cc
|
||||
G4UIcmdWithADouble.cc
|
||||
G4UIcmdWithADoubleAndUnit.cc
|
||||
G4UIcmdWithAString.cc
|
||||
G4UIcmdWithAnInteger.cc
|
||||
G4UIcmdWithoutParameter.cc
|
||||
G4UIcommand.cc
|
||||
G4UIcommandTree.cc
|
||||
G4UIcontrolMessenger.cc
|
||||
G4UIdirectory.cc
|
||||
G4UImanager.cc
|
||||
G4UImessenger.cc
|
||||
G4UIparameter.cc
|
||||
G4UIsession.cc
|
||||
G4UnitsMessenger.cc
|
||||
G4VGlobalFastSimulationManager.cc
|
||||
GRANULAR_DEPENDENCIES
|
||||
G4globman
|
||||
GLOBAL_DEPENDENCIES
|
||||
G4global
|
||||
LINK_LIBRARIES
|
||||
geant4_define_module(NAME G4intercoms
|
||||
HEADERS
|
||||
G4AnyMethod.hh
|
||||
G4AnyType.hh
|
||||
G4GenericMessenger.hh
|
||||
G4LocalThreadCoutMessenger.hh
|
||||
G4UIaliasList.hh
|
||||
G4UIbatch.hh
|
||||
G4UIbridge.hh
|
||||
G4UIcmdWith3Vector.hh
|
||||
G4UIcmdWith3VectorAndUnit.hh
|
||||
G4UIcmdWithABool.hh
|
||||
G4UIcmdWithADouble.hh
|
||||
G4UIcmdWithADoubleAndUnit.hh
|
||||
G4UIcmdWithAString.hh
|
||||
G4UIcmdWithAnInteger.hh
|
||||
G4UIcmdWithoutParameter.hh
|
||||
G4UIcommand.hh
|
||||
G4UIcommandStatus.hh
|
||||
G4UIcommandTree.hh
|
||||
G4UIcontrolMessenger.hh
|
||||
G4UIdirectory.hh
|
||||
G4UImanager.hh
|
||||
G4UImessenger.hh
|
||||
G4UIparameter.hh
|
||||
G4UIsession.hh
|
||||
G4UItokenNum.hh
|
||||
G4UnitsMessenger.hh
|
||||
G4VFlavoredParallelWorld.hh
|
||||
G4VGlobalFastSimulationManager.hh
|
||||
icomsdefs.hh
|
||||
SOURCES
|
||||
G4LocalThreadCoutMessenger.cc
|
||||
G4GenericMessenger.cc
|
||||
G4UIaliasList.cc
|
||||
G4UIbatch.cc
|
||||
G4UIbridge.cc
|
||||
G4UIcmdWith3Vector.cc
|
||||
G4UIcmdWith3VectorAndUnit.cc
|
||||
G4UIcmdWithABool.cc
|
||||
G4UIcmdWithADouble.cc
|
||||
G4UIcmdWithADoubleAndUnit.cc
|
||||
G4UIcmdWithAString.cc
|
||||
G4UIcmdWithAnInteger.cc
|
||||
G4UIcmdWithoutParameter.cc
|
||||
G4UIcommand.cc
|
||||
G4UIcommandTree.cc
|
||||
G4UIcontrolMessenger.cc
|
||||
G4UIdirectory.cc
|
||||
G4UImanager.cc
|
||||
G4UImessenger.cc
|
||||
G4UIparameter.cc
|
||||
G4UIsession.cc
|
||||
G4UnitsMessenger.cc
|
||||
G4VGlobalFastSimulationManager.cc
|
||||
GRANULAR_DEPENDENCIES
|
||||
G4globman
|
||||
GLOBAL_DEPENDENCIES
|
||||
G4global
|
||||
LINK_LIBRARIES
|
||||
)
|
||||
|
||||
# List any source specific properties here
|
||||
|
||||
|
||||
Reference in New Issue
Block a user