aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorFabian Imhof <fabian.imhof@ost.ch>2025-02-27 08:23:59 +0000
committerFabian Imhof <fabian.imhof@ost.ch>2025-02-27 08:23:59 +0000
commitcc67705d0154f1d55aa234714389ec2db00e9406 (patch)
tree326e841bf04ab71ae5a2eb0a34266dc553ed1153 /CMakeLists.txt
parentb7a37a1899772e16ce5550c6be3ff9cfd9825fe7 (diff)
parent3fb836101a2032e93f7b82c924ce208d7377a5ea (diff)
downloadteachos-cc67705d0154f1d55aa234714389ec2db00e9406.tar.xz
teachos-cc67705d0154f1d55aa234714389ec2db00e9406.zip
Merge remote-tracking branch 'origin/develop_ba' into feat_inital_context_switching
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 12ac210..8657cab 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -75,6 +75,7 @@ add_compile_options(
"$<$<CXX_COMPILER_ID:GNU>:-Wextra>"
"$<$<CXX_COMPILER_ID:GNU>:-Werror>"
"$<$<CXX_COMPILER_ID:GNU>:-pedantic-errors>"
+ "$<$<CXX_COMPILER_ID:GNU>:-fsanitize=address,leak,bounds,alignment,return,integer-divide-by-zero,vla-bound,null,enum,pointer-overflow>"
)
#[============================================================================[
@@ -115,6 +116,13 @@ add_library("_exception" OBJECT)
add_library("teachos::exception" ALIAS "_exception")
#[============================================================================[
+# The Shared Library
+#]============================================================================]
+
+add_library("_shared" OBJECT)
+add_library("teachos::shared" ALIAS "_shared")
+
+#[============================================================================[
# The Kernel
#]============================================================================]
@@ -128,6 +136,7 @@ target_link_libraries("_kernel" PRIVATE
"teachos::video"
"teachos::memory"
"teachos::exception"
+ "teachos::shared"
)
#[============================================================================[