Skip to content
CMakeLists.txt 527 B
Newer Older
Valerio Pastore's avatar
Valerio Pastore committed
cmake_minimum_required(VERSION 3.9)
project(Base_DAQ)


set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++20")
Valerio Pastore's avatar
Valerio Pastore committed


file(GLOB INCLUDE_FILES "include/*.h")
file(GLOB TCLAP "include/tclap")

set(CMAKE_INSTALL_MESSAGE LAZY)
install(
    FILES ${INCLUDE_FILES}
    DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Base_DAQ"
Valerio Pastore's avatar
Valerio Pastore committed
)

install(
    DIRECTORY ${PUGIXML}
    DESTINATION "${CMAKE_INSTALL_PREFIX}/include"
Valerio Pastore's avatar
Valerio Pastore committed
)

install(
    DIRECTORY ${TCLAP}
    DESTINATION "${CMAKE_INSTALL_PREFIX}/include"