CMakeLists.txt 603 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
cmake_minimum_required(VERSION 3.0)
project(AculUtils)

# Find ROOT package
find_package(ROOT REQUIRED)

# Add include directories for ROOT
include_directories(${ROOT_INCLUDE_DIRS})
# Print the value of ROOT_INCLUDE_DIRS
message(STATUS "ROOT include directories: ${ROOT_INCLUDE_DIRS}")

12
# Add the subdirectories
13
add_subdirectory(TELoss)
14
add_subdirectory(AculData)
15 16 17 18

# Set the output directory for the dictionary files
set(GEN_DICT_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR})
message(STATUS "CMAKE_CURRENT_BINARY_DIR: ${CMAKE_CURRENT_BINARY_DIR}")
19
message(STATUS "GEN_DICT_OUTPUT_DIR: ${GEN_DICT_OUTPUT_DIR}")