Skip to content

Google Cloud Client library in C

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

offscale/google-cloud-c

Repository files navigation

google-cloud-c

CI for Linux, Windows, macOS License

Google Cloud Client library in C. TODO: code-generate the bulk of this library using cdd-c.

Generation

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

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.

Build

$ mkdir 'cmake-build-debug' && cd "$_"
$ cmake -DCMAKE_TOOLCHAIN_FILE='[root]/vcpkg/scripts/buildsystems/vcpkg.cmake' \
        -DCMAKE_BUILD_TYPE='Debug' \
        ..
$ cmake --build .

TODO

  • CTest
  • CPack
  • More docs
  • Code-generate structs, free code, and HTTPS calls

License

Licensed under either of

at your option.

Contribution

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.

About

Google Cloud Client library in C

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published