Skip to content

DLopezMadrid/cmake-with-protobuf-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using Protobuf with CMake

Example on how to get CMake to compile the C++ headers and sources from your .proto files

How to build

$ mkdir build
$ cd build
$ cmake ..
$ make

How to run

$ ./main

Extra

How to install protobuf in Ubuntu

$ sudo apt -y install libprotobuf-dev protobuf-compiler 

About

Example on how to use cmake and protobuf together

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published