21 lines
476 B
CMake
Executable File
21 lines
476 B
CMake
Executable File
cmake_minimum_required(VERSION 3.16)
|
|
|
|
project(containers
|
|
VERSION "${HPR_VERSION}"
|
|
LANGUAGES CXX
|
|
)
|
|
|
|
hpr_add_library(${PROJECT_NAME} INTERFACE)
|
|
|
|
hpr_collect_interface(${PROJECT_NAME}
|
|
"../containers.hpp"
|
|
"*.hpp"
|
|
"array/*.hpp"
|
|
)
|
|
|
|
target_sources(${PROJECT_NAME}
|
|
INTERFACE ${${PROJECT_NAME}_HEADERS_INTERFACE} ${HPR_INSTALL_INTERFACE}/${PROJECT_NAME}>
|
|
)
|
|
|
|
hpr_tests(${PROJECT_NAME} tests)
|
|
hpr_install(${PROJECT_NAME} ${PROJECT_SOURCE_DIR}) |