2020-02-28 22:17:41 +00:00
|
|
|
# jsonrpc
|
|
|
|
|
|
|
|
add_library(jsonrpc STATIC
|
2020-02-29 01:44:26 +00:00
|
|
|
lib/jsonrpc/src/jsonrpc/api.c
|
|
|
|
lib/jsonrpc/src/jsonrpc/impl/proxy.c
|
|
|
|
lib/jsonrpc/src/jsonrpc/impl/server.c
|
|
|
|
lib/jsonrpc/src/jsonrpc/impl/method.c
|
|
|
|
lib/jsonrpc/src/jsonrpc/impl/request.c
|
|
|
|
lib/jsonrpc/src/jsonrpc/impl/response.c
|
|
|
|
lib/jsonrpc/src/jsonrpc/impl/error.c
|
|
|
|
)
|
|
|
|
|
2020-02-29 20:06:40 +00:00
|
|
|
target_link_libraries(jsonrpc PUBLIC wf_timer)
|
|
|
|
|
|
|
|
target_include_directories(jsonrpc PRIVATE
|
|
|
|
lib/wf/timer/include
|
2020-02-29 01:44:26 +00:00
|
|
|
lib/jsonrpc/src
|
2020-02-28 22:17:41 +00:00
|
|
|
)
|
|
|
|
|
2020-02-29 20:06:40 +00:00
|
|
|
target_include_directories(jsonrpc PUBLIC
|
|
|
|
lib/jsonrpc/include
|
|
|
|
)
|
|
|
|
|
2020-02-28 22:17:41 +00:00
|
|
|
set_target_properties(jsonrpc PROPERTIES C_VISIBILITY_PRESET hidden)
|