aboutsummaryrefslogtreecommitdiff
path: root/mwe/dynlink/lib/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'mwe/dynlink/lib/CMakeLists.txt')
-rw-r--r--mwe/dynlink/lib/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/mwe/dynlink/lib/CMakeLists.txt b/mwe/dynlink/lib/CMakeLists.txt
new file mode 100644
index 0000000..2d15353
--- /dev/null
+++ b/mwe/dynlink/lib/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 3.28)
+
+set(CMAKE_C_STANDARD 11)
+set(CMAKE_CXX_STANDARD 20)
+
+project(lib C CXX)
+
+add_library(test SHARED lib.c)
+target_include_directories(test SYSTEM INTERFACE .)
+