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',
|
'@echo off',
|
||||||
'path "$(SolutionDir)\\..\\tools"',
|
'path "$(SolutionDir)\\..\\tools"',
|
||||||
'if not exist "$(ProjectDir)\\src\\proto" mkdir "$(ProjectDir)\\src\\proto"',
|
'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 {
|
buildoutputs {
|
||||||
'$(ProjectDir)\\src\\proto\\%(Filename).pb.cc',
|
'$(ProjectDir)\\src\\proto\\%(Filename).pb.cc',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user