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") file(GLOB INCLUDE_FILES "include/*.h") file(GLOB TCLAP "deps/tclap") file(GLOB PACKETLIB "deps/PacketLib/include/*") set(CMAKE_INSTALL_MESSAGE LAZY) install( FILES ${INCLUDE_FILES} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Base_DAQ" ) install( DIRECTORY ${TCLAP} DESTINATION "${CMAKE_INSTALL_PREFIX}/include" ) install( FILES ${PACKETLIB} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/PacketLib" )