aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/kstd/CMakeLists.txt25
1 files changed, 3 insertions, 22 deletions
diff --git a/libs/kstd/CMakeLists.txt b/libs/kstd/CMakeLists.txt
index 9b4976b..877a04e 100644
--- a/libs/kstd/CMakeLists.txt
+++ b/libs/kstd/CMakeLists.txt
@@ -17,32 +17,13 @@ target_sources("kstd" PRIVATE
"src/mutex.cpp"
)
+file(GLOB_RECURSE KSTD_HEADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "include/**.hpp")
+
target_sources("kstd" PUBLIC
FILE_SET HEADERS
BASE_DIRS "include"
FILES
- "include/kstd/bits/format_args.hpp"
- "include/kstd/bits/format_context.hpp"
- "include/kstd/bits/format_parse_context.hpp"
- "include/kstd/bits/format_specifiers.hpp"
- "include/kstd/bits/format_string.hpp"
- "include/kstd/bits/formatter.hpp"
- "include/kstd/bits/print_sink.hpp"
- "include/kstd/bits/shared_ptr.hpp"
- "include/kstd/bits/unique_ptr.hpp"
-
- "include/kstd/ext/bitfield_enum"
-
- "include/kstd/os/error.hpp"
- "include/kstd/os/print.hpp"
-
- "include/kstd/asm_ptr"
- "include/kstd/cstring"
- "include/kstd/format"
- "include/kstd/memory"
- "include/kstd/mutex"
- "include/kstd/stack"
- "include/kstd/vector"
+ ${KSTD_HEADERS}
)
target_include_directories("kstd" PUBLIC