protoc has no support for spaces in the commandline (https://github.com/google/protobuf/issues/955)
This commit is contained in:
parent
d875f36be2
commit
ab7f1bfcca
@ -334,7 +334,7 @@ rule "ProtobufCompiler"
|
||||
'@echo off',
|
||||
'path "$(SolutionDir)\\..\\tools"',
|
||||
'if not exist "$(ProjectDir)\\src\\proto" mkdir "$(ProjectDir)\\src\\proto"',
|
||||
'protoc --error_format=msvs -I=%(RootDir)%(Directory) "--cpp_out=$(ProjectDir)\\src\\proto" "%(FullPath)"',
|
||||
'protoc --error_format=msvs -I=%(RelativeDir) --cpp_out=src\\proto %(Identity)',
|
||||
}
|
||||
buildoutputs {
|
||||
'$(ProjectDir)\\src\\proto\\%(Filename).pb.cc',
|
||||
|
Loading…
Reference in New Issue
Block a user