Google Cloud Client library in C. TODO: code-generate the bulk of this library using cdd-c.
Except common utility functions, this entire library will be generated, including:
- JSON parsing and emission;
- HTTPS requests;
- Tests and mocks for ^.
…using cdd-c.
vcpkg
is an open-source cross-platform library package management system from Microsoft; targeting macOS, Linux, and Windows.
It's very popular, and has strong CMake integration. Henceforth, it is chosen for this project as an example of third-party library integration.
Install vcpkg, configure it with your system. Then run:
[root]/vcpkg/vcpkg install curl
Or do the same with your system package manager, conan
, or whatever else you use.
$ mkdir 'cmake-build-debug' && cd "$_"
$ cmake -DCMAKE_TOOLCHAIN_FILE='[root]/vcpkg/scripts/buildsystems/vcpkg.cmake' \
-DCMAKE_BUILD_TYPE='Debug' \
..
$ cmake --build .
- CTest
- CPack
- More docs
- Code-generate
struct
s,free
code, and HTTPS calls
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.