Newer
Older
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 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"
FILES ${PACKETLIB}
DESTINATION "${CMAKE_INSTALL_PREFIX}/include/PacketLib"