Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Add CMake files and a CI build using them. #39

Merged
merged 4 commits into from
Jun 4, 2019
Merged

Add CMake files and a CI build using them. #39

merged 4 commits into from
Jun 4, 2019

Conversation

coryan
Copy link
Contributor

@coryan coryan commented Jun 1, 2019

These files allow us to build the spanner client using CMake, which we
need to support make install and package maintainers. We can also use
these to create code coverage builds, builds that run clang-tidy, and
builds generate the Doxygen documentation, all of which could be done
with Bazel, but would require rediscovering how to do it.

These files make no attempt at installing the dependencies for the
project. They assume these dependencies are installed and the build
fails if they are not. The CI build pre-installs these dependencies, a
future CI build will also test support for super builds.

Provide instructions for developers that want to use CMake with vcpkg
or by installing the dependencies in /usr/local.


This change is Reviewable

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 1, 2019
coryan and others added 4 commits June 3, 2019 15:02
These files allow us to build the spanner client using CMake, which we
need to support `make install` and package maintainers. We can also use
these to create code coverage builds, builds that run clang-tidy, and
builds generate the Doxygen documentation, all of which could be done
with Bazel, but would require rediscovering how to do it.

These files make no attempt at installing the dependencies for the
project. They assume these dependencies are installed and the build
fails if they are not. The CI build pre-installs these dependencies, a
future CI build will also test support for super builds.

Provide instructions for developers that want to use CMake with `vcpkg`
or by installing the dependencies in `/usr/local`.
I removed the instructions to install in /usr/local because they are
complicated and will not live for long, the next PR will describe how to
install in $HOME/local (or a similar user-owned directory).

Also merged with the latest changes on `master`.
@coryan
Copy link
Contributor Author

coryan commented Jun 3, 2019

PTAL.

@coryan coryan merged commit 94f12be into googleapis:master Jun 4, 2019
@coryan coryan deleted the implement-cmake-support branch June 4, 2019 15:42
devjgm pushed a commit to devjgm/google-cloud-cpp that referenced this pull request May 7, 2020
…pp-spanner#39)

These files allow us to build the spanner client using CMake, which we
need to support `make install` and package maintainers. We can also use
these to create code coverage builds, builds that run clang-tidy, and
builds generate the Doxygen documentation, all of which could be done
with Bazel, but would require rediscovering how to do it.

These files make no attempt at installing the dependencies for the
project. They assume these dependencies are installed and the build
fails if they are not. The CI build pre-installs these dependencies, a
future CI build will also test support for super builds.

Provide instructions for developers that want to use CMake with `vcpkg`.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants