-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated v2 fork with latest libraries, bug fixes and vcpkg manifest integration #55
Conversation
Again, thank you for your work!
Correct me if I'm wrong, but won't this make vcpkg binding on users? I'd like to avoid that.
C++ 20 support is still not common so let's avoid this too. |
Yes and I understand the issue with
Is there a reason the URL for WS & HTTP endpoint is a Having said that, it's not important for me to merge this since I can maintain my fork separately as well. But since v2 is new with some breaking changes, it's a good idea to update the old components. Btw, I used currently released SDK version and tested in September (personal project). |
a01ffea
to
ffd0c9e
Compare
With your changes, there would be no way to build the library without vcpkg. I'd like to make sure the project compiles without using any package manager. IMO, package managers should be add-ons and fundamental build system should always be preserved.
Does this mean latest version or latest
No particular reason apart from the fact that macros are inferior. However, I do not mind using them here to enable upgrading |
Once your v2 branch is ready, will send you a PR without package manager and using latest releases of the libraries. Though its easy to do that yourself too. |
I just upgraded the dependencies. Thanks! |
Will take the latest tomorrow and test it. Is there curl "https://api.kite.trade/instruments" -H "X-Kite-Version: 3" -H "Authorization: API_KEY:ACCESS_TOKEN" > full.csv |
@bhumitattarde |
@rhnvrm can answer this.
|
Closing this PR since main requirements got addressed in v2 now. |
Updated v2 with latest libraries, bug fixes and vcpkg manifest integration
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-httplib
fmt 9.x
CMakeLists.txt
withfind_package
for components coming fromvcpkg
.Have added vcpkg as cmake toolchain here in
CMakeLists.txt
Clone, compile and test
Here is the content of
vcpkg.json
For updating the C++ standard to 20 (now it's 17), there are 2 more bugs explained below.
CXX 20 is required since
chrono
andfmt
from CXX 20 onwards supports dates and there are quite a few useful functions for use with this SDK.Compiler Errors with CXX 20
Bug fix - change to #define