diff --git a/README.md b/README.md index 8fae3a4..12593f3 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Communication JSON RPC protocol and implementation with Unity Scene. ## TODO -- [ ] Server implementation with C-API for Unity +- [x] Server implementation with C-API for Unity - [ ] Client correct implementation with OpenCV ## API Documentation diff --git a/meson.build b/meson.build index e604b21..da38769 100644 --- a/meson.build +++ b/meson.build @@ -6,7 +6,7 @@ project('cloud_point_rpc', 'cpp', json_dep = dependency('nlohmann_json', fallback : ['nlohmann_json', 'nlohmann_json_dep']) thread_dep = dependency('threads') asio_dep = dependency('asio', fallback : ['asio', 'asio_dep']) - +base64_dep = dependency('base64', fallback: ['aklomp-base64', 'base64']) # GLog via CMake fallback cmake = import('cmake') glog_opt = cmake.subproject_options() diff --git a/src/meson.build b/src/meson.build index 64633e1..9afc098 100644 --- a/src/meson.build +++ b/src/meson.build @@ -9,13 +9,13 @@ cloud_point_rpc_sources = files( libcloud_point_rpc = shared_library('cloud_point_rpc', cloud_point_rpc_sources, include_directories : inc, - dependencies : [json_dep, thread_dep, glog_dep, yaml_dep, asio_dep], + dependencies : [json_dep, thread_dep, glog_dep, yaml_dep, asio_dep, base64_dep], install : true) cloud_point_rpc_dep = declare_dependency( include_directories : inc, link_with : libcloud_point_rpc, - dependencies : [json_dep, glog_dep, yaml_dep, asio_dep]) + dependencies : [json_dep, glog_dep, yaml_dep, asio_dep, base64_dep]) # Test lib libcloud_point_rpc_test = shared_library('test_cloud_point', @@ -32,7 +32,7 @@ cloud_point_rpc_test_dep = declare_dependency( libcloud_point_rpc_cli = shared_library('libcloud_point_rpc_cli', 'cli.cpp', include_directories : inc, - dependencies : [json_dep, thread_dep, glog_dep, yaml_dep, asio_dep, cloud_point_rpc_dep], + dependencies : [cloud_point_rpc_dep], install : true) cloud_point_rpc_cli_dep = declare_dependency(