proxmark3/client/deps/tinycbor.cmake

15 lines
491 B
CMake
Raw Normal View History

2020-04-18 20:19:43 +08:00
add_library(tinycbor STATIC
2020-04-16 16:57:53 +08:00
tinycbor/cborencoder.c
tinycbor/cborencoder_close_container_checked.c
tinycbor/cborerrorstrings.c
tinycbor/cborparser.c
tinycbor/cborparser_dup_string.c
tinycbor/cborpretty.c
tinycbor/cbortojson.c
tinycbor/cborvalidation.c
)
target_include_directories(tinycbor INTERFACE tinycbor)
# Strange errors on Mingw when compiling with -O3
2020-04-18 23:37:11 +08:00
target_compile_options(tinycbor PRIVATE -Wall -Werror -O2)