-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
38 lines (32 loc) · 1.38 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
################################################################################
# Package: InsituBalance
################################################################################
# Declare the package name:
atlas_subdir( InsituBalance )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
xAODAnaHelpers
)
# Find the needed external(s):
find_package( ROOT COMPONENTS Core RIO Hist Tree )
# build a dictionary for the library
atlas_add_root_dictionary ( InsituBalanceLib InsituBalanceDictSource
ROOT_HEADERS InsituBalance/*.h Root/LinkDef.h
EXTERNAL_PACKAGES ROOT
)
# build a shared library
atlas_add_library( InsituBalanceLib InsituBalance/*.h Root/*.cxx ${InsituBalanceDictSource}
#atlas_add_library( InsituBalanceLib InsituBalance/*.h Root/*.cxx util/*.cxx ${InsituBalanceDictSource}
PUBLIC_HEADERS InsituBalance
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES}
xAODAnaHelpersLib JetTileCorrectionLib JES_ResponseFitterLib
)
# Executable(s) in the package:
atlas_add_executable( MJBFit
util/MJBFit.cxx
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} JES_ResponseFitterLib )
# Install files from the package:
atlas_install_scripts( scripts/*.py )
atlas_install_data( data/* )