bayesmix-dev / bayesmix

Flexible Bayesian nonparametric mixture models in C++
https://bayesmix.rtfd.io
BSD 3-Clause "New" or "Revised" License
22 stars 18 forks source link

Add some (maybe) useful utilities for `protobuf` #153

Closed TeoGiane closed 4 months ago

TeoGiane commented 4 months ago

Summary

  1. Fix wrong protobuf include directories, link libraries and protoc executable. We now explicitly use the version we locally install during configuration.
  2. Add the cmake/ProtobufUtils.cmake file, which contains a cmake function that encapsulates the previous code we adopted to generate cpp and python files from the proto messages.