aboutsummaryrefslogtreecommitdiff
path: root/kern/CMakeLists.txt
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-07-14 16:42:26 +0000
committerFelix Morgner <felix.morgner@ost.ch>2025-07-14 16:42:26 +0000
commitd1aaaeb615e148a13f46223c84819ba828e5209f (patch)
tree9a1fb3d5ff429f4bf96f999dbc6751ec1cc6b976 /kern/CMakeLists.txt
parentec572bff8150e2f8cd2dc99e053c5e8c8a0b99e3 (diff)
downloadteachos-d1aaaeb615e148a13f46223c84819ba828e5209f.tar.xz
teachos-d1aaaeb615e148a13f46223c84819ba828e5209f.zip
arch: make linkable
Diffstat (limited to 'kern/CMakeLists.txt')
-rw-r--r--kern/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/kern/CMakeLists.txt b/kern/CMakeLists.txt
index 9bfe9e8..52c2cb5 100644
--- a/kern/CMakeLists.txt
+++ b/kern/CMakeLists.txt
@@ -1,4 +1,7 @@
-add_library("kern" OBJECT
+add_library("kern" OBJECT)
+add_library("os::kern" ALIAS "kern")
+
+target_sources("kern" PRIVATE
"src/abort.cpp"
"src/error.cpp"
"src/main.cpp"
@@ -11,6 +14,4 @@ target_include_directories("kern" PUBLIC
target_link_libraries("kern" PUBLIC
"arch::any"
-
- "gcc"
)