File tree 3 files changed +3109
-0
lines changed
3 files changed +3109
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,12 @@ if (LLAMA_BUILD_EXAMPLES)
68
68
message (WARNING "Could not find alpaka. Alpaka examples are disabled." )
69
69
endif ()
70
70
71
+ # ROOT examples
72
+ find_package (ROOT QUIET )
73
+ if (ROOT_FOUND)
74
+ add_subdirectory ("examples/hep_rntuple" )
75
+ endif ()
76
+
71
77
# CUDA examples
72
78
include (CheckLanguage)
73
79
check_language(CUDA)
Original file line number Diff line number Diff line change
1
+ cmake_minimum_required (VERSION 3.15)
2
+ project (llama-hep_rntuple)
3
+
4
+ set (CMAKE_CXX_STANDARD 17)
5
+
6
+ find_package (ROOT REQUIRED)
7
+ if (NOT TARGET llama::llama)
8
+ find_package (llama REQUIRED)
9
+ endif ()
10
+ add_executable (${PROJECT_NAME} hep_rntuple.cpp)
11
+ target_link_libraries (${PROJECT_NAME} PRIVATE ROOT::Hist ROOT::Graf ROOT::Gpad ROOT::ROOTNTuple llama::llama)
You can’t perform that action at this time.
0 commit comments