CMakeLists.txt 2.64 KB
Newer Older
1
2
3
4
5
6
7
8
9
################################################################################
# Package: TrigConfigSvc
################################################################################

# Declare the package name:
atlas_subdir( TrigConfigSvc )

# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Joerg Stelzer's avatar
Joerg Stelzer committed
10
                          PRIVATE
11
12
13
                          Control/AthenaBaseComps
                          Control/StoreGate
                          GaudiKernel
14
15
                          Trigger/TrigConfiguration/TrigConfIO
                          Trigger/TrigConfiguration/TrigConfData
16
17
18
19
20
                          Trigger/TrigConfiguration/TrigConfHLTData
                          Trigger/TrigConfiguration/TrigConfInterfaces
                          Trigger/TrigConfiguration/TrigConfL1Data
                          Trigger/TrigEvent/TrigSteeringEvent
                          Control/AthenaKernel
Tim Martin's avatar
Tim Martin committed
21
                          Control/AthAnalysisBaseComps
22
                          Control/AthenaMonitoring
23
24
25
26
27
28
29
30
31
32
33
                          Database/AthenaPOOL/AthenaPoolUtilities
                          Database/IOVDbDataModel
                          Event/EventInfo
                          Tools/PathResolver
                          Trigger/TrigConfiguration/TrigConfBase
                          Trigger/TrigConfiguration/TrigConfJobOptData
                          Trigger/TrigConfiguration/TrigConfStorage
                          Trigger/TrigMonitoring/TrigMonitorBase
                          Trigger/TrigT1/L1Topo/L1TopoConfig )

# External dependencies:
34
find_package( Boost )
35
find_package( COOL COMPONENTS CoolKernel )
36
find_package( ROOT COMPONENTS Hist )
37
find_package( cx_Oracle )
38
find_package( nlohmann_json )
39
40

atlas_add_component( TrigConfigSvc
41
                     src/*.cxx src/components/*.cxx
Joerg Stelzer's avatar
Joerg Stelzer committed
42
                     INCLUDE_DIRS ${COOL_INCLUDE_DIRS}
43
                     LINK_LIBRARIES AthAnalysisBaseCompsLib AthenaBaseComps TrigConfIO TrigConfData TrigConfStorage TrigConfL1Data L1TopoConfig EventInfo AthenaMonitoringLib PathResolver nlohmann_json::nlohmann_json )
44
45

# Install files from the package:
46
47
atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} )
atlas_install_joboptions( share/jobOptions_commonSetup.py
48
49
50
  share/jobOptions_setupHLTSvc.py
  share/jobOptions_setupLVL1Svc.py
  share/testTriggerFrontierQuery.py )
Frank Winklmeier's avatar
Frank Winklmeier committed
51
atlas_install_scripts( share/checkTrigger.py share/checkTriggerConfigOld.py share/trigconf_property.py )
52
atlas_install_xmls( data/*.dtd )
53
54
55
56

# Aliases:
atlas_add_alias( checkTrigger "checkTrigger.py" )

57
58
59
atlas_add_test( AccumulatorTest
   SCRIPT python -m TrigConfigSvc.TrigConfigSvcConfig
   POST_EXEC_SCRIPT nopost.sh )