Apache OpenDAL™ C++ Binding
The C++ binding for Apache OpenDAL™
|
Note: This C++ binding follows the Google C++ Style Guide for consistent and maintainable code.
More examples can be found here.
You can use FetchContent
to add OpenDAL to your project.
Or you can download the source code and add it to your project.
Now you can use OpenDAL in your project.
Support for more package managers is coming soon!
We provide a default VSCode configuration in .vscode/settings.json
at the project root. After installing the clangd extension in VSCode, restart the editor to enable proper code completion and IntelliSense support.
You should build the project with OPENDAL_ENABLE_TESTING
option. Then run:
You should build the project with OPENDAL_ENABLE_DOCUMENTATION
option. Then run:
OPENDAL_DEV
: Enable development environment for OpenDAL. It will enable most development options. With this option, you don't need to set other options. Default: OFF
OPENDAL_ENABLE_ADDRESS_SANITIZER
: Enable address sanitizer. Default: OFF
OPENDAL_ENABLE_DOCUMENTATION
: Enable documentation. Default: OFF
OPENDAL_DOCS_ONLY
: Only build documentation. Default: OFF
OPENDAL_ENABLE_TESTING
: Enable testing. Default: OFF
OPENDAL_ENABLE_ASYNC
: Enable async support. Requires Clang or AppleClang with C++20. Default: OFF
OPENDAL_FEATURES
: Specify OpenDAL services to include, like "opendal/services-s3,opendal/services-memory"
. Default: ""
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
Apache OpenDAL, OpenDAL, and Apache are either registered trademarks or trademarks of the Apache Software Foundation.