here's my code it is pretty simple but I can't see what I'm doing wrong
Thanks
<Target Name = "Main">
<Message Text="Generating DTO for c++"/>
<ItemGroup>
<ProtoFiles
Include="test1.proto"/>
<ProtoFiles
Include="test2.proto"/>
</ItemGroup>
<Exec Command="$(THISPATH)\protobuff\protoc.exe --cpp_out=. @(ProtoFiles)"/>
/>
</Target>
--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to prot...@googlegroups.com.
To unsubscribe from this group, send email to protobuf+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
Project "c:\dir1\dir2\dir3\prototest.xml" on node 0 (default targets).
Generating DTO for c++
test1.proto;test2.proto: No such file or directory
c:\dir1\dir2\dir3\dir4\dir5\dir6\dir7\prototest.xml(20,7): error MSB3073: The
command "C:\code\protobuf\protoc.exe --cpp_out=. test1.proto;test2.proto" exited
with code 1.
--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to prot...@googlegroups.com.
To unsubscribe from this group, send email to protobuf+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
I'm not a expert too ... I can't compile individually because
both file depend on the other.
I think i will merge everything
in 1 proto ... it's gonna be long but
more simple!!
--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to prot...@googlegroups.com.
To unsubscribe from this group, send email to protobuf+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
Do you have an example to see how using --proto_path
Thanks
PACKAGE=protobufCONFIG=debugsource "$ROOT/rec/scripts/variables.sh"SRC_ROOT="$ROOT/rec/src"PROTO_ROOT="$ROOT/rec/genfiles/proto"
mkdir -p "$PROTO_ROOT"echo "Deleting `find "$PROTO_ROOT" -name \*.pb.\* | wc -l` compiled files."find "$PROTO_ROOT" -name \*.pb.\* | xargs rm
find "$SRC_ROOT" -name \*.proto |\xargs "$INSTALL_DIR/bin/protoc"\--proto_path "$SRC_ROOT"\--proto_path "$ROOT/build/$CONFIG/protobuf/include"\--cpp_out="$PROTO_ROOT"
--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to prot...@googlegroups.com.
To unsubscribe from this group, send email to protobuf+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.