aboutsummaryrefslogtreecommitdiff
path: root/libs/kstd/CMakeLists.txt
diff options
context:
space:
mode:
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"
+)