aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/CMakeLists.txt
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-07-14 15:39:09 +0000
committerFelix Morgner <felix.morgner@ost.ch>2025-07-14 15:39:09 +0000
commite7eedd234954509f4f5ec52b2d62cbc4a1723936 (patch)
tree7cff3076bf88ad07ed50066a6e7a2f8795dd27f0 /arch/x86_64/CMakeLists.txt
parent22fbbf849497c32f5b237ab70e9ed8aef63e54cf (diff)
downloadteachos-e7eedd234954509f4f5ec52b2d62cbc4a1723936.tar.xz
teachos-e7eedd234954509f4f5ec52b2d62cbc4a1723936.zip
libs: begin extraction of kernel std
Diffstat (limited to 'arch/x86_64/CMakeLists.txt')
-rw-r--r--arch/x86_64/CMakeLists.txt13
1 files changed, 5 insertions, 8 deletions
diff --git a/arch/x86_64/CMakeLists.txt b/arch/x86_64/CMakeLists.txt
index bd06ea7..511fe43 100644
--- a/arch/x86_64/CMakeLists.txt
+++ b/arch/x86_64/CMakeLists.txt
@@ -71,14 +71,7 @@ target_sources("_memory" PRIVATE
target_link_libraries("_memory" PUBLIC
"multiboot2::multiboot2"
-)
-
-#[============================================================================[
-# The STL Library
-#]============================================================================]
-
-target_sources("_stl" PRIVATE
- "src/stl/mutex.cpp"
+ "libs::kstd"
)
#[============================================================================[
@@ -115,6 +108,10 @@ target_sources("_context" PRIVATE
"src/context_switching/interrupt_descriptor_table/segment_selector.cpp"
)
+target_link_libraries("_context" PUBLIC
+ "libs::kstd"
+)
+
#[============================================================================[
# The Interrupt Handlers
#]============================================================================]