aboutsummaryrefslogtreecommitdiff
path: root/libs/kstd/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 /libs/kstd/CMakeLists.txt
parent22fbbf849497c32f5b237ab70e9ed8aef63e54cf (diff)
downloadteachos-e7eedd234954509f4f5ec52b2d62cbc4a1723936.tar.xz
teachos-e7eedd234954509f4f5ec52b2d62cbc4a1723936.zip
libs: begin extraction of kernel std
Diffstat (limited to 'libs/kstd/CMakeLists.txt')
-rw-r--r--libs/kstd/CMakeLists.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/libs/kstd/CMakeLists.txt b/libs/kstd/CMakeLists.txt
new file mode 100644
index 0000000..06083f3
--- /dev/null
+++ b/libs/kstd/CMakeLists.txt
@@ -0,0 +1,24 @@
+cmake_minimum_required(VERSION "3.27")
+
+project("kstd"
+ LANGUAGES CXX
+ VERSION "1.0.0"
+)
+
+add_library("kstd" STATIC)
+add_library("libs::kstd" ALIAS "kstd")
+
+target_sources("kstd" PRIVATE
+ "src/mutex.cpp"
+)
+
+target_sources("kstd" PUBLIC
+ FILE_SET HEADERS
+ BASE_DIRS "include"
+ FILES
+ "include/kstd/mutex.hpp"
+)
+
+target_include_directories("kstd" PUBLIC
+ "include"
+)