]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TEvtGen/HepMC/CMakeLists.txt
Resolving the symbols in each library
[u/mrichter/AliRoot.git] / TEvtGen / HepMC / CMakeLists.txt
CommitLineData
e706c082 1# **************************************************************************
2# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
3# * *
4# * Author: The ALICE Off-line Project. *
5# * Contributors are mentioned in the code where appropriate. *
6# * *
7# * Permission to use, copy, modify and distribute this software and its *
8# * documentation strictly for non-commercial purposes is hereby granted *
9# * without fee, provided that the above copyright notice appears in all *
10# * copies and that both the copyright notice and this permission notice *
11# * appear in the supporting documentation. The authors make no claims *
12# * about the suitability of this software for any purpose. It is *
13# * provided "as is" without express or implied warranty. *
14# **************************************************************************/
15
16#Module
17set (MODULE HepMC )
18
19# Module include folder
20include_directories(${AliRoot_SOURCE_DIR}/TEvtGen/${MODULE})
21
22# Additional includes - alphabetical order except ROOT
23include_directories(${ROOT_INCLUDE_DIRS}
24 ${AliRoot_SOURCE_DIR}/TEvtGen
6f2765e2 25 ${AliRoot_SOURCE_DIR}/TEvtGen/EvtGen/EvtGenModels
e706c082 26)
27
28# Sources - alphabetical order
29set(SRCS
30 CompareGenEvent.cc
31 filterEvent.cc
32 Flow.cc
33 GenCrossSection.cc
34 GenEvent.cc
35 GenEventStreamIO.cc
36 GenParticle.cc
37 GenRanges.cc
38 GenVertex.cc
39 HeavyIon.cc
40 HEPEVT_Wrapper.cc
41 HerwigWrapper.cc
42 IO_AsciiParticles.cc
43 IO_GenEvent.cc
44 IO_HEPEVT.cc
45 IO_HERWIG.cc
46 PdfInfo.cc
47 Polarization.cc
48 SearchVector.cc
49 SimpleVector.icc
50 StreamHelpers.cc
51 StreamInfo.cc
52 WeightContainer.cc
53 Units.cc
54)
55
6f2765e2 56set (FSRCS
57 dummy.F
58)
59
e706c082 60# No dictionary
61
62# Add a library to the project using the specified source files
6f2765e2 63add_library(${MODULE} SHARED ${SRCS} ${FSRCS})
e706c082 64
65# Do not generate the ROOT map
66
67# Additional compilation flags
68aeb13b 68set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "")
e706c082 69target_link_libraries(${MODULE} )
70
71# System dependent: Modify the way the library is build
72if(${CMAKE_SYSTEM} MATCHES Darwin)
73 set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
74endif(${CMAKE_SYSTEM} MATCHES Darwin)
75
76# Installation
77install(TARGETS ${MODULE}
78 ARCHIVE DESTINATION lib
79 LIBRARY DESTINATION lib)
80install(FILES ${HDRS} DESTINATION include)