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

README

protobuf-cmake: CMake build files for Protocol Buffers

Written by Jesper Eskilson (jesper@eskilson.se) with contributions from
several other people.

Requirements
------------

* CMake version 2.6
* Protobuf version 2.5.0 or 2.6.1

Download links
--------------
http://www.cmake.org/cmake/resources/software.html
http://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz

Instructions
------------

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.