2023-01-11 14:46:49 +05:00
|
|
|
cmake_minimum_required(VERSION 3.16)
|
|
|
|
|
|
|
|
project(geometry
|
2023-03-13 22:27:09 +05:00
|
|
|
VERSION "${HPR_VERSION}"
|
2023-01-11 14:46:49 +05:00
|
|
|
LANGUAGES CXX
|
|
|
|
)
|
|
|
|
|
2023-03-13 22:27:09 +05:00
|
|
|
hpr_add_library(${PROJECT_NAME} INTERFACE)
|
2023-01-11 14:46:49 +05:00
|
|
|
|
2023-03-13 22:27:09 +05:00
|
|
|
hpr_collect_interface(${PROJECT_NAME}
|
|
|
|
"../geometry.hpp"
|
|
|
|
"*.hpp"
|
2023-01-11 14:46:49 +05:00
|
|
|
)
|
|
|
|
|
|
|
|
target_sources(${PROJECT_NAME}
|
2023-03-13 22:27:09 +05:00
|
|
|
INTERFACE ${${PROJECT_NAME}_HEADERS_INTERFACE} ${HPR_INSTALL_INTERFACE}/${PROJECT_NAME}>
|
2023-01-11 14:46:49 +05:00
|
|
|
)
|
|
|
|
|
2023-03-13 22:27:09 +05:00
|
|
|
|
|
|
|
hpr_install(${PROJECT_NAME} ${PROJECT_SOURCE_DIR})
|
|
|
|
|