mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 13:59:02 +08:00
0693b010a5
* Add TinyCBOR port * Avoid deprecated helpers * Resolve post-build check problems * Correct baseline (should have latest version, not lowest) * Use same version-semver * No support for older versions * Static lib only * Update commit hash * Add homepage * update hash * Oops indents are off Co-authored-by: Alison Wu <aliwu@microsoft.com>
9 lines
291 B
CMake
9 lines
291 B
CMake
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) |