CMake build support for Google Protobufs
Switch branches/tags
Nothing to show
Pull request Compare This branch is 9 commits ahead, 17 commits behind jesperes:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
libprotobuf
libprotoc
protoc
.gitignore
CMakeLists.txt
CheckCxxHashmap.cmake
CheckCxxHashset.cmake
README
config.h.in
protobuf-common.cmake

README

protobuf-cmake: CMake build files for Protocol Buffers

Written by Jesper Eskilson (jesper@eskilson.se)

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

* CMake version 2.6 

* Protocol Buffers version 2.2.x. Version 2.3.0 is not supported in
this version of protobuf-cmake.

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

On Unix, the Protobuf configure script needs to be run before running 
CMake in order to create the config.h file:

   $ cd /path/to/protobuf
   $ ./configure

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