aboutsummaryrefslogtreecommitdiff
path: root/lib/i2ctcp/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/i2ctcp/CMakeLists.txt')
-rw-r--r--lib/i2ctcp/CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/i2ctcp/CMakeLists.txt b/lib/i2ctcp/CMakeLists.txt
new file mode 100644
index 0000000..956dcf7
--- /dev/null
+++ b/lib/i2ctcp/CMakeLists.txt
@@ -0,0 +1,14 @@
+cmake_minimum_required(VERSION 3.29)
+
+set(CMAKE_C_STANDARD 11)
+set(CMAKE_CXX_STANDARD 17)
+set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
+
+project(i2ctcp C CXX)
+
+add_subdirectory(lib/mpack)
+
+add_library(i2ctcp STATIC i2ctcpv1.c)
+target_link_libraries(i2ctcp mpack)
+target_include_directories(i2ctcp SYSTEM INTERFACE .)
+