From 511742e3c256a6e9fdd6dabd05621f654174a145 Mon Sep 17 00:00:00 2001 From: Martin Stump <11492152+globberwops@users.noreply.github.com> Date: Sat, 23 Dec 2023 12:51:34 +0100 Subject: [PATCH] Install gw::named_type Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com> --- CMakeLists.txt | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 31884e0..e016e5b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,25 +12,41 @@ option(GW_BUILD_TESTS "Build tests" ${PROJECT_IS_TOP_LEVEL}) option(GW_INSTALL "Generate install target" ON) # -# named_type +# gw::named_type # add_library(named_type INTERFACE) add_library(gw::named_type ALIAS named_type) -target_sources(named_type INTERFACE FILE_SET HEADERS BASE_DIRS include FILES include/gw/named_type.hpp) +target_sources( + named_type + INTERFACE FILE_SET + HEADERS + BASE_DIRS + include + FILES + include/gw/concepts.hpp + include/gw/named_type.hpp) target_compile_features(named_type INTERFACE cxx_std_20) target_include_directories(named_type INTERFACE $) # -# strong_type +# gw::strong_type # add_library(strong_type INTERFACE) add_library(gw::strong_type ALIAS strong_type) -target_sources(strong_type INTERFACE FILE_SET HEADERS BASE_DIRS include FILES include/gw/strong_type.hpp) +target_sources( + strong_type + INTERFACE FILE_SET + HEADERS + BASE_DIRS + include + FILES + include/gw/concepts.hpp + include/gw/strong_type.hpp) target_compile_features(strong_type INTERFACE cxx_std_20) target_include_directories(strong_type INTERFACE $) # -# crtp +# gw::crtp # add_library(crtp INTERFACE) add_library(gw::crtp ALIAS crtp) @@ -67,7 +83,7 @@ if(GW_INSTALL) COMPATIBILITY SameMajorVersion) install( - TARGETS strong_type crtp + TARGETS named_type strong_type crtp EXPORT gw-targets FILE_SET HEADERS COMPONENT gw-devel)