forked from DUNE/duneopdet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
52 lines (41 loc) · 1.21 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# ======================================================================
# duneopdet main build file
# ======================================================================
# use cmake 3.14 or later
cmake_minimum_required (VERSION 3.19 FATAL_ERROR)
project(duneopdet VERSION 09.42.02.00 LANGUAGES CXX)
# cetbuildtools contains our cmake modules
find_package(cetbuildtools REQUIRED)
include(CetCMakeEnv)
cet_cmake_env()
cet_set_compiler_flags(DIAGS CAUTIOUS
WERROR
NO_UNDEFINED
EXTRA_FLAGS -pedantic -Wno-unused-local-typedefs
)
cet_report_compiler_flags()
find_ups_product( art )
find_ups_product( art_root_io )
find_ups_product( canvas_root_io )
find_ups_boost( )
find_ups_root()
find_ups_product( cetbuildtools )
find_ups_product( larevt )
find_ups_product( larsim )
find_ups_product( larcore )
find_ups_product( lardata )
find_ups_product( lardataalg )
find_ups_product( larreco )
find_ups_product( larana )
find_ups_product( larcorealg )
find_ups_product( nurandom )
find_ups_product( dunecore )
find_ups_product( clhep )
find_ups_geant4( )
# macros for artdaq_dictionary and simple_plugin
include(ArtDictionary)
include(ArtMake)
include(BuildPlugins)
add_subdirectory(duneopdet)
add_subdirectory(ups)
include(UseCPack)