Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I'm using protocol buffers and I need to generate C files in my build step which need to be added into my Application make targets. What would be the best way to do this? How can I create a pre application build target that will generate the extra source files and then add it to the main applications targets dependency ?
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.