CMake build support for Google Protobufs
Switch branches/tags
Nothing to show
Latest commit 304c1f5 Sep 15, 2015 Jesper Eskilson Updated README.


protobuf-cmake: CMake build files for Protocol Buffers

Written by Jesper Eskilson ( with contributions from
several other people.


* CMake version 2.6
* Protobuf version 2.5.0 or 2.6.1

Download links


The CMake variable PROTOBUF_ROOT needs to be set to the location of
the Protocol Buffers sources. When running CMake on the command line,
this can be set like this:

   $ cd build
   $ cmake /path/to/protobuf-cmake -DPROTOBUF_ROOT=/path/to/protobufs

If you specify -DDOWNLOAD_PROTOBUF=1, the script will automatically
download protobuf.