aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2026-01-06 14:19:58 +0100
committerFelix Morgner <felix.morgner@gmail.com>2026-01-06 14:19:58 +0100
commit66e986572d65e622e78190aa971313ed7e3c8b9b (patch)
treed3bcdaf2eeb66da2d3898e037224c99c3ad426c1 /lib
parentd9ab9b52be6950f5429d9b9b4d3596599f53449d (diff)
downloadnewtype-develop.tar.xz
newtype-develop.zip
build: clean up configurationHEADdevelop
Diffstat (limited to 'lib')
-rw-r--r--lib/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index ec76c2e..3d3060e 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -1,5 +1,13 @@
add_library("newtype" INTERFACE)
+target_sources("newtype" PUBLIC
+ FILE_SET HEADERS
+ FILES
+ "include/newtype/newtype.hpp"
+ BASE_DIRS
+ "${CMAKE_CURRENT_SOURCE_DIR}/include"
+)
+
target_include_directories("newtype" INTERFACE
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
"$<INSTALL_INTERFACE:include>"