2020-05-06 20:45:02 +08:00
|
|
|
add_library(pm3rrg_rdv4_jansson STATIC
|
2020-04-16 16:57:53 +08:00
|
|
|
jansson/dump.c
|
|
|
|
jansson/error.c
|
|
|
|
jansson/hashtable.c
|
|
|
|
jansson/hashtable_seed.c
|
|
|
|
jansson/load.c
|
|
|
|
jansson/memory.c
|
|
|
|
jansson/pack_unpack.c
|
|
|
|
jansson/strbuffer.c
|
|
|
|
jansson/strconv.c
|
|
|
|
jansson/utf.c
|
|
|
|
jansson/value.c
|
|
|
|
)
|
2020-04-18 19:50:53 +08:00
|
|
|
|
2020-05-06 20:45:02 +08:00
|
|
|
target_compile_definitions(pm3rrg_rdv4_jansson PRIVATE HAVE_STDINT_H)
|
|
|
|
target_include_directories(pm3rrg_rdv4_jansson INTERFACE jansson)
|
2023-06-26 19:10:45 +08:00
|
|
|
target_compile_options(pm3rrg_rdv4_jansson PRIVATE -Wall -Werror -Wno-unused-function -O3)
|
2020-05-06 20:45:02 +08:00
|
|
|
set_property(TARGET pm3rrg_rdv4_jansson PROPERTY POSITION_INDEPENDENT_CODE ON)
|