Skip to content
CMakeLists.txt 537 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++1y")


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

set(CMAKE_INSTALL_MESSAGE LAZY)
install(
    FILES ${INCLUDE_FILES}
    DESTINATION "${dps_prefix2}/include/Base_DAQ"
)

install(
    DIRECTORY ${PUGIXML}
    DESTINATION "${dps_prefix2}/include"
)

install(
    DIRECTORY ${TCLAP}
    DESTINATION "${dps_prefix2}/include"
)