Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
CMake build support for Google Protobufs
Branch: master
Pull request Compare This branch is 9 commits ahead, 14 commits behind jesperes:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

Something went wrong with that request. Please try again.