How to add prebuild steps?

FWIW, this is pretty easy to do with mbed-cmake. You can simply use CMake’s FindProtobuf module to generate the source files automatically. We actually do something similar to this where I work at RPL, except with ASN.1 serialization instead of Protobuf.

1 Like