diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-03-20 14:13:43 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-03-20 14:13:43 +0100 |
| commit | e92343922bc8dce0c5653b83789498d4c97ade62 (patch) | |
| tree | e4c892c688d5b16e2e3ce7667a6a98e52db33433 /libs | |
| parent | 5f7d5c6dafd97b0fe59fdaadc3d87dc02f69c218 (diff) | |
| download | teachos-e92343922bc8dce0c5653b83789498d4c97ade62.tar.xz teachos-e92343922bc8dce0c5653b83789498d4c97ade62.zip | |
kstd: simplify header packaging
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/kstd/CMakeLists.txt | 25 |
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 |
