aboutsummaryrefslogtreecommitdiff
path: root/proto/include.cmake
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-05-18 15:08:20 +0200
committerlonkaars <loek@pipeframe.xyz>2024-05-18 15:08:20 +0200
commitcddfbb715d6f4f9d022d383ab8737b6af57a1d6f (patch)
treed05b08c75f30949c8dfcd8caf6973e6b9cb352ec /proto/include.cmake
parent573643a1d3220830de47c810cb1a6be629ce7abd (diff)
cmake build config for mpack
Diffstat (limited to 'proto/include.cmake')
-rw-r--r--proto/include.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/proto/include.cmake b/proto/include.cmake
index d5beaef..c8a90b6 100644
--- a/proto/include.cmake
+++ b/proto/include.cmake
@@ -1 +1,13 @@
include_directories(${CMAKE_CURRENT_LIST_DIR})
+
+# mpack
+include_directories(${CMAKE_CURRENT_LIST_DIR}/lib/mpack/src/mpack)
+add_library(mpack STATIC
+ ${CMAKE_CURRENT_LIST_DIR}/lib/mpack/src/mpack/mpack-common.c
+ ${CMAKE_CURRENT_LIST_DIR}/lib/mpack/src/mpack/mpack-expect.c
+ ${CMAKE_CURRENT_LIST_DIR}/lib/mpack/src/mpack/mpack-node.c
+ ${CMAKE_CURRENT_LIST_DIR}/lib/mpack/src/mpack/mpack-platform.c
+ ${CMAKE_CURRENT_LIST_DIR}/lib/mpack/src/mpack/mpack-reader.c
+ ${CMAKE_CURRENT_LIST_DIR}/lib/mpack/src/mpack/mpack-writer.c
+ )
+