This example shows how to use Conan to pull in the header files and static libraries for
nanopb and incorporate them into a very simple CMake application.
conanfile.py here imports
nanopb and uses the packaged artifacts to build a simple application. You'll likely need to build this yourself, so checkout the tagged version and run
conan create . in the base of this repository
To run though the build one step at a time, use the following commands.
mkdir build cd build conan install .. conan source .. conan build .. conan package ..
conanfile.py has been commented to explain the workflow
To have everything build at once and install to your local Conan cache
conan create .