35 lines
927 B
CMake
35 lines
927 B
CMake
#------------------------------------------------------------------------------
|
|
# CMakeLists.txt
|
|
# Module : G4global
|
|
# Package: Geant4.src.G4global
|
|
#
|
|
# Top level CMakeLists.txt for a Geant4 Global Library
|
|
# or collection of sublibraries
|
|
#
|
|
# Generated on : 24/9/2010
|
|
#
|
|
# $Id: CMakeLists.txt,v 1.1 2010-09-29 18:43:41 bmorgan Exp $
|
|
#
|
|
#------------------------------------------------------------------------------
|
|
|
|
# Add allocation export symbol for the global category
|
|
add_definitions(-DG4GLOB_ALLOC_EXPORT)
|
|
|
|
add_subdirectory(HEPGeometry)
|
|
add_subdirectory(HEPNumerics)
|
|
add_subdirectory(HEPRandom)
|
|
add_subdirectory(management)
|
|
|
|
|
|
if(NOT GEANT4_BUILD_GRANULAR_LIBS)
|
|
include(Geant4MacroLibraryTargets)
|
|
GEANT4_GLOBAL_LIBRARY_TARGET(NAME G4global
|
|
COMPONENTS
|
|
HEPGeometry/sources.cmake
|
|
HEPNumerics/sources.cmake
|
|
HEPRandom/sources.cmake
|
|
management/sources.cmake
|
|
)
|
|
endif()
|
|
|