I have fixed bugs and have an updated fork of v2 here
https://github.com/Zdhaa/cppkiteconnect/commits/v2
I have tested on Ubuntu for now.
It should work on all platforms as well viz (Windows, Linux & Mac).
Completed tasks
Have added vcpkg as cmake toolchain here in CMakeLists.txt
Clone, compile and test
# Clone recursive v2 branch
$ git clone --recursive https://github.com/Zdhaa/cppkiteconnect -b v2
# pre-compiled (Ubuntu x64) libuWS.a is in uWS folder - since this is an older version with client support
$ cmake . -B build -DBUILD_EXAMPLES=On -DUWS_LIB=uWS/libuWS.a && cmake --build build
Here is the content of vcpkg.json
{
"name": "cppkiteconnect",
"version-string": "2.0.0",
"homepage": "https://github.com/zerodha/cppkiteconnect",
"description": "C++ Kite Connect API library / SDK",
"dependencies": [
"fmt",
"cpp-httplib",
"picosha2",
"rapidjson",
"zlib",
"gtest",
"libuv",
"openssl"
]
}
Will send PR if its ok.
I have fixed bugs and have an updated fork of v2 here
https://github.com/Zdhaa/cppkiteconnect/commits/v2
I have tested on Ubuntu for now.
It should work on all platforms as well viz (Windows, Linux & Mac).
Completed tasks
vcpkg.json)fmt,picosha2,rapidjson,cpp-httplibfmt 9.xCMakeLists.txtwithfind_packagefor components coming fromvcpkg.Have added vcpkg as cmake toolchain here in
CMakeLists.txtClone, compile and test
Here is the content of
vcpkg.json{ "name": "cppkiteconnect", "version-string": "2.0.0", "homepage": "https://github.com/zerodha/cppkiteconnect", "description": "C++ Kite Connect API library / SDK", "dependencies": [ "fmt", "cpp-httplib", "picosha2", "rapidjson", "zlib", "gtest", "libuv", "openssl" ] }Will send PR if its ok.