diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-05-28 11:28:22 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-05-28 11:28:22 +0200 |
commit | 25a4f905a3f93645aee79157f30867b287871163 (patch) | |
tree | 3f33d41965595cafe5cc0ae783840ffdd3ca27ba /i2ctcp/include.cmake | |
parent | f4868604384908a7477cbb4b544c6ee7aac2a883 (diff) |
separate the i2c over tcp from puzzle bus libraries
Diffstat (limited to 'i2ctcp/include.cmake')
-rw-r--r-- | i2ctcp/include.cmake | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/i2ctcp/include.cmake b/i2ctcp/include.cmake new file mode 100644 index 0000000..d755b57 --- /dev/null +++ b/i2ctcp/include.cmake @@ -0,0 +1,16 @@ +include_directories(${CMAKE_CURRENT_LIST_DIR}) +add_library(i2ctcp STATIC + ${CMAKE_CURRENT_LIST_DIR}/i2ctcpv1.c + ) + +# 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 + ) + |