Reputation: 21
I use in my c++ project google buffer protocol lib. And after changing *.proto files in my solution I need regenerate *.cpp files using google buffer protocol compiler. How can do it before compilation? Pre-buid events is not acceptable for me.
Upvotes: 0
Views: 501
Reputation: 5161
Add the file to the project. Select the item in the solution explorer. Select properties and change its build type to custom, and accept it. Now do it again and you'll can add the information for building it.
Upvotes: 1