Any update on this ?
1 of 1 people found this helpful
Perhaps it would be beneficial for your project to create a script. In this script, first call a make to generate protobuf c/h files then call Wiced make to build your app. You may use your favorite scripting language.
The same script could be used on your build server to generate nightly builds as well. Script could be used by other developers as they join to generate protobuf files.
Below batch file is for Windows environment to build but if your server is running Linux, it could be replaced with a script running on Linux.
echo “Go to Protobuf project directory”
echo "cd ....."
echo “Create c/h files based on proto file(s).”
echo “protoc-c --c_out=. MyProtoFile.proto”
echo "copy *.pb-c.c and *.pb-c.h files to your app in Wiced"
echo “Go to Wiced SDK”
echo “Build Wiced application”
echo “Done building Wiced application”
For your normal build and debugging process, you can use the Wiced IDE to build and debug.