diff options
| author | Fabian Imhof <fabian.imhof@ost.ch> | 2025-02-27 09:21:43 +0100 |
|---|---|---|
| committer | Fabian Imhof <fabian.imhof@ost.ch> | 2025-02-27 09:21:43 +0100 |
| commit | 3fb836101a2032e93f7b82c924ce208d7377a5ea (patch) | |
| tree | 52f9aa1f5316b9938e74f43637c0641803fda01a /CMakeLists.txt | |
| parent | cd42c21f2460751428b3e1b4ae07ea0b924967bc (diff) | |
| parent | 2f1f0fa8b0dc1893219be68ab8bf653b5d6349fb (diff) | |
| download | teachos-3fb836101a2032e93f7b82c924ce208d7377a5ea.tar.xz teachos-3fb836101a2032e93f7b82c924ce208d7377a5ea.zip | |
Merge branch 'feat_new_delete_override' into 'develop_ba'
new delete override
See merge request teachos/kernel!4
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 9 |
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" ) #[============================================================================[ |
