-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
42 lines (33 loc) · 1.85 KB
/
CMakeLists.txt
File metadata and controls
42 lines (33 loc) · 1.85 KB
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
# Copyright (C) 1995-2023, Rene Brun and Fons Rademakers.
# All rights reserved.
#
# For the licensing terms see $ROOTSYS/LICENSE.
# For the list of contributors see $ROOTSYS/README/CREDITS.
# @author Danilo Piparo CERN
ROOT_EXECUTABLE(rotationApplication rotationApplication.cxx LIBRARIES GenVector)
ROOT_ADD_TEST(test-genvector-rotationApplication COMMAND rotationApplication)
ROOT_EXECUTABLE(boost testBoost.cxx LIBRARIES GenVector)
ROOT_ADD_TEST(test-genvector-boost COMMAND boost)
ROOT_EXECUTABLE(testGenvector testGenVector.cxx LIBRARIES GenVector Hist Smatrix)
ROOT_ADD_TEST(test-genvector-genvector COMMAND testGenvector)
ROOT_EXECUTABLE(testVectorIO testVectorIO.cxx LIBRARIES GenVector Tree Hist Gpad Physics)
ROOT_ADD_TEST(test-genvector-vectorio COMMAND testVectorIO
COPY_TO_BUILDDIR ${CMAKE_CURRENT_SOURCE_DIR}/Track.h)
if (DEFINED ENV{USE_REFLEX})
REFLEX_GENERATE_DICTIONARY(GVTrackDict Track.h SELECTION TrackDict.xml)
else()
ROOT_GENERATE_DICTIONARY(GVTrackDict Track.h LINKDEF TrackLinkDef.h OPTIONS -inlineInputHeader)
endif()
ROOT_EXECUTABLE(testVectorIOdict testVectorIO.cxx GVTrackDict.cxx LIBRARIES GenVector Tree Hist Gpad Physics)
target_include_directories(testVectorIOdict PRIVATE ./)
if (DEFINED ENV{USE_REFLEX})
target_compile_definitions(testVectorIOdict PRIVATE USE_REFLEX)
endif()
ROOT_ADD_TEST(test-genvector-vectoriodict COMMAND testVectorIOdict
COPY_TO_BUILDDIR ${CMAKE_CURRENT_SOURCE_DIR}/Track.h)
ROOT_EXECUTABLE(coordinates3D coordinates3D.cxx LIBRARIES GenVector)
ROOT_ADD_TEST(test-genvector-coordinates3D COMMAND coordinates3D)
ROOT_EXECUTABLE(coordinates4D coordinates4D.cxx LIBRARIES GenVector)
ROOT_ADD_TEST(test-genvector-coordinates4D COMMAND coordinates4D)
add_library(staticTests OBJECT staticTests.cxx)
target_link_libraries(staticTests PRIVATE GenVector)