source: trunk/source/persistency/CMakeLists.txt@ 1354

Last change on this file since 1354 was 1350, checked in by garnier, 15 years ago

update to last version 4.9.4

File size: 1.0 KB
RevLine 
[1350]1#------------------------------------------------------------------------------
2# CMakeLists.txt
3# Module : G4persistency
4# Package: Geant4.src.G4persistency
5#
6# Top level CMakeLists.txt for a Geant4 Global Library
7# or collection of sublibraries
8#
9# Generated on : 24/9/2010
10#
11# $Id: CMakeLists.txt,v 1.1 2010/09/29 18:49:49 bmorgan Exp $
12#
13#------------------------------------------------------------------------------
14
15add_subdirectory(ascii)
16
17# GDML only if required
18if(GEANT4_USE_GDML)
19 add_subdirectory(gdml)
20endif()
21
22add_subdirectory(mctruth)
23
24
25if(NOT GEANT4_BUILD_GRANULAR_LIBS)
26 include(Geant4MacroLibraryTargets)
27 if(GEANT4_USE_GDML)
28 GEANT4_GLOBAL_LIBRARY_TARGET(NAME G4persistency
29 COMPONENTS
30 ascii/sources.cmake
31 gdml/sources.cmake
32 mctruth/sources.cmake
33 )
34 else()
35 GEANT4_GLOBAL_LIBRARY_TARGET(NAME G4persistency
36 COMPONENTS
37 ascii/sources.cmake
38 mctruth/sources.cmake
39 )
40 endif()
41endif()
42
Note: See TracBrowser for help on using the repository browser.