- Added custom rules for *.proto files to iw4x - Added a workaround for protoc output not being automatically included - Disable precompiled headers for protobuf generated sources - Moved inclusion of node.pb.h out of STDInclude.hpp to only where it's necessary (WTF @momo5502) - Removed protobuf-generated code from "protobuf" external project - Removed protogen.bat as it is no longer needed
4 lines
132 B
Batchfile
4 lines
132 B
Batchfile
pushd "%~dp0"
|
|
mkdir "..\build\src\proto" 2>NUL
|
|
protoc.exe -I=../src/Proto --cpp_out=../build/src/proto/ ../src/Proto/node.proto
|
|
popd |