aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/tinycbor/CMakeLists.txt
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/tinycbor/CMakeLists.txt
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/tinycbor/CMakeLists.txt')
-rw-r--r--vcpkg/ports/tinycbor/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/vcpkg/ports/tinycbor/CMakeLists.txt b/vcpkg/ports/tinycbor/CMakeLists.txt
new file mode 100644
index 0000000..b902a7d
--- /dev/null
+++ b/vcpkg/ports/tinycbor/CMakeLists.txt
@@ -0,0 +1,9 @@
+cmake_minimum_required(VERSION 3.20)
+project(tinycbor C)
+
+file(GLOB sources src/cbor*.c)
+list(FILTER sources EXCLUDE REGEX "cbortojson.c$")
+add_library(tinycbor ${sources})
+
+install(TARGETS tinycbor)
+install(FILES src/cbor.h src/cborjson.h src/tinycbor-version.h DESTINATION include/tinycbor)