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}") # Add the subdirectories add_subdirectory(TELoss) add_subdirectory(AculCalib) add_subdirectory(AculData) add_subdirectory(Utilities) # 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}") message(STATUS "CMAKE_BINARY_DIR: ${CMAKE_BINARY_DIR}") message(STATUS "GEN_DICT_OUTPUT_DIR: ${GEN_DICT_OUTPUT_DIR}") message(STATUS "CMAKE_COMMAND: ${CMAKE_COMMAND}") # add_custom_target(clean_all # COMMAND ${CMAKE_COMMAND} -E remove ${CMAKE_BINARY_DIR}/* # )