Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
242 lines
15 KiB
242 lines
15 KiB
14 years ago
|
<?xml version="1.0" encoding="utf-8"?>
|
||
14 years ago
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||
14 years ago
|
|
||
12 years ago
|
<!-- build targets -->
|
||
12 years ago
|
<Target Name="Clean" DependsOnTargets="_CleanAll" />
|
||
|
<Target Name="BuildTools" DependsOnTargets="_BuildTools" />
|
||
12 years ago
|
<Target Name="GenerateProjects" DependsOnTargets="_GenerateProjects" />
|
||
12 years ago
|
<Target Name="GenerateSource" DependsOnTargets="_GenerateSource;_CopyGeneratedSource" />
|
||
12 years ago
|
<Target Name="RebuildSource" DependsOnTargets="Clean;BuildTools;GenerateSource" />
|
||
12 years ago
|
<Target Name="Build" DependsOnTargets="GenerateProjects;BuildTools;GenerateSource;_CompileAll" />
|
||
12 years ago
|
<Target Name="Rebuild" DependsOnTargets="Clean;Build" />
|
||
12 years ago
|
<Target Name="GeneratePackage" DependsOnTargets="_PackageAll;_GeneratePackage" />
|
||
12 years ago
|
<Target Name="FullBuild" DependsOnTargets="Rebuild;GeneratePackage" />
|
||
12 years ago
|
<!-- misc targets -->
|
||
|
<Target Name="RunBenchmarks" DependsOnTargets="_CleanAll;_BuildTools;_RunBenchmarks" />
|
||
|
|
||
14 years ago
|
<PropertyGroup>
|
||
|
<ProjectName>Protocol Buffers</ProjectName>
|
||
12 years ago
|
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
|
||
|
<Platform Condition=" '$(Platform)' == '' ">Any CPU</Platform>
|
||
|
|
||
14 years ago
|
<!--Directory Paths-->
|
||
14 years ago
|
<ProjectDirectory>$(MSBuildProjectDirectory)\..</ProjectDirectory>
|
||
14 years ago
|
<SourceDirectory>$(ProjectDirectory)\src</SourceDirectory>
|
||
|
<LibDirectory>$(ProjectDirectory)\lib</LibDirectory>
|
||
|
<ProtosDirectory>$(ProjectDirectory)\protos</ProtosDirectory>
|
||
13 years ago
|
|
||
|
<SourceTempDirectory>$(ProjectDirectory)\build_temp\GeneratedSource</SourceTempDirectory>
|
||
12 years ago
|
<BuildTempDirectory>$(ProjectDirectory)\build_temp</BuildTempDirectory>
|
||
13 years ago
|
<BuildOutputDirectory>$(ProjectDirectory)\build_output</BuildOutputDirectory>
|
||
12 years ago
|
<BuildOutputPackage>$(BuildOutputDirectory)</BuildOutputPackage>
|
||
13 years ago
|
|
||
|
<BenchmarkArgs>/v2 /fast /formats</BenchmarkArgs>
|
||
|
<BenchmarkOutputFile>$(BuildTempDirectory)\..\BenchmarkResults.txt</BenchmarkOutputFile>
|
||
14 years ago
|
<BenchmarkProtosDirectory>$(ProjectDirectory)\benchmarks</BenchmarkProtosDirectory>
|
||
14 years ago
|
|
||
12 years ago
|
<PackageName Condition=" '$(PackageName)' == '' ">$(Configuration)</PackageName>
|
||
14 years ago
|
|
||
14 years ago
|
<!--Tool Paths-->
|
||
12 years ago
|
<ProtocExePath>$(BuildOutputDirectory)\tools\protoc.exe</ProtocExePath>
|
||
|
<ProtogenExePath>$(BuildOutputDirectory)\tools\protogen.exe</ProtogenExePath>
|
||
13 years ago
|
<NUnitExePath>$(LibDirectory)\NUnit\tools\nunit-console.exe</NUnitExePath>
|
||
12 years ago
|
<CsProjectProjector>$(LibDirectory)\CsProjectProjector\CsProjectProjector.exe</CsProjectProjector>
|
||
14 years ago
|
<ZipExePath>$(LibDirectory)\7-Zip 9.20\7za.exe</ZipExePath>
|
||
12 years ago
|
|
||
|
</PropertyGroup>
|
||
14 years ago
|
|
||
14 years ago
|
<Import Project="Common.targets"/>
|
||
14 years ago
|
|
||
12 years ago
|
<!-- Proto Files -->
|
||
14 years ago
|
<ItemGroup>
|
||
14 years ago
|
<Protos Include="$(ProtosDirectory)\extest\unittest_issues.proto" />
|
||
13 years ago
|
<Protos Include="$(ProtosDirectory)\extest\unittest_extras.proto" />
|
||
14 years ago
|
<Protos Include="$(ProtosDirectory)\extest\unittest_extras_full.proto" />
|
||
|
<Protos Include="$(ProtosDirectory)\extest\unittest_extras_lite.proto" />
|
||
14 years ago
|
<Protos Include="$(ProtosDirectory)\extest\unittest_extras_xmltest.proto" />
|
||
14 years ago
|
<Protos Include="$(ProtosDirectory)\extest\unittest_generic_services.proto" />
|
||
14 years ago
|
<Protos Include="$(ProtosDirectory)\extest\unittest_rpc_interop.proto" />
|
||
13 years ago
|
<Protos Include="$(ProtosDirectory)\extest\unittest_rpc_interop_lite.proto" />
|
||
14 years ago
|
<Protos Include="$(ProtosDirectory)\google\protobuf\descriptor.proto" />
|
||
|
<Protos Include="$(ProtosDirectory)\google\protobuf\csharp_options.proto" />
|
||
|
<Protos Include="$(ProtosDirectory)\google\protobuf\unittest.proto" />
|
||
|
<Protos Include="$(ProtosDirectory)\google\protobuf\unittest_csharp_options.proto" />
|
||
|
<Protos Include="$(ProtosDirectory)\google\protobuf\unittest_custom_options.proto" />
|
||
|
<Protos Include="$(ProtosDirectory)\google\protobuf\unittest_embed_optimize_for.proto" />
|
||
|
<Protos Include="$(ProtosDirectory)\google\protobuf\unittest_empty.proto" />
|
||
|
<Protos Include="$(ProtosDirectory)\google\protobuf\unittest_import.proto" />
|
||
|
<Protos Include="$(ProtosDirectory)\google\protobuf\unittest_import_lite.proto" />
|
||
14 years ago
|
<Protos Include="$(ProtosDirectory)\google\protobuf\unittest_lite.proto" />
|
||
|
<Protos Include="$(ProtosDirectory)\google\protobuf\unittest_lite_imports_nonlite.proto" />
|
||
14 years ago
|
<Protos Include="$(ProtosDirectory)\google\protobuf\unittest_mset.proto" />
|
||
|
<Protos Include="$(ProtosDirectory)\google\protobuf\unittest_no_generic_services.proto" />
|
||
|
<Protos Include="$(ProtosDirectory)\google\protobuf\unittest_optimize_for.proto" />
|
||
14 years ago
|
<Protos Include="$(ProtosDirectory)\google\test\google_size.proto" />
|
||
|
<Protos Include="$(ProtosDirectory)\google\test\google_speed.proto" />
|
||
12 years ago
|
<Protos Include="$(ProtosDirectory)\tutorial\addressbook.proto" />
|
||
12 years ago
|
<!-- for benchmark -->
|
||
|
<Protos Include="$(ProtosDirectory)\benchmarks\google_size.proto" />
|
||
|
<Protos Include="$(ProtosDirectory)\benchmarks\google_speed.proto" />
|
||
|
</ItemGroup>
|
||
|
<!-- Generated Source -->
|
||
|
<ItemGroup>
|
||
14 years ago
|
<!-- Main protos -->
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\CSharpOptions.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers\DescriptorProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\DescriptorProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers\DescriptorProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
14 years ago
|
|
||
14 years ago
|
<!-- Address book sample -->
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\AddressBookProtos.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\AddressBook</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
14 years ago
|
<!-- Unit test -->
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestExtrasProtoFile.cs">
|
||
13 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestExtrasIssuesProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestXmlSerializerTestProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestCSharpOptionsProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestCustomOptionsProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestEmbedOptimizeForProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestEmptyProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestImportLiteProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestImportProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestMessageSetProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestNoGenericServicesProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestOptimizeForProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestRpcInterop.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestRpcInteropLite.cs">
|
||
13 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffersLite.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestGenericServices.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
14 years ago
|
<!-- Lite unit test -->
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestExtrasFullProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffersLite.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestExtrasLiteProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffersLite.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestImportLiteProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffersLite.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestImportProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffersLite.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestLiteImportNonLiteProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffersLite.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestLiteProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffersLite.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffersLite.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestGoogleSizeProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
13 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestGoogleSpeedProtoFile.cs">
|
||
14 years ago
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
12 years ago
|
<GeneratedSource Include="$(SourceTempDirectory)\GoogleSizeProtoFile.cs">
|
||
|
<TargetDirectory>$(SourceDirectory)\ProtoBench\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
|
<GeneratedSource Include="$(SourceTempDirectory)\GoogleSpeedProtoFile.cs">
|
||
|
<TargetDirectory>$(SourceDirectory)\ProtoBench\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestImportProtoFile.cs">
|
||
|
<TargetDirectory>$(SourceDirectory)\ProtoBench\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
|
<GeneratedSource Include="$(SourceTempDirectory)\UnitTestProtoFile.cs">
|
||
|
<TargetDirectory>$(SourceDirectory)\ProtoBench\TestProtos</TargetDirectory>
|
||
|
</GeneratedSource>
|
||
|
</ItemGroup>
|
||
|
<!-- Package Items -->
|
||
|
<ItemGroup>
|
||
13 years ago
|
<StaticPackageItem Include="$(ProjectDirectory)\CHANGES.txt" />
|
||
14 years ago
|
<StaticPackageItem Include="$(ProjectDirectory)\license.txt" />
|
||
13 years ago
|
<StaticPackageItem Include="$(ProjectDirectory)\protos\google\protobuf\descriptor.proto">
|
||
|
<TargetDirectory>\protos\google\protobuf</TargetDirectory>
|
||
|
</StaticPackageItem>
|
||
10 years ago
|
<StaticPackageItem Include="$(ProjectDirectory)\protos\google\protobuf\compiler\plugin.proto">
|
||
|
<TargetDirectory>\protos\google\protobuf\compiler</TargetDirectory>
|
||
|
</StaticPackageItem>
|
||
13 years ago
|
<StaticPackageItem Include="$(ProjectDirectory)\protos\google\protobuf\csharp_options.proto">
|
||
|
<TargetDirectory>\protos\google\protobuf</TargetDirectory>
|
||
|
</StaticPackageItem>
|
||
|
<StaticPackageItem Include="$(ProjectDirectory)\protos\tutorial\addressbook.proto">
|
||
|
<TargetDirectory>\protos\tutorial</TargetDirectory>
|
||
14 years ago
|
</StaticPackageItem>
|
||
|
</ItemGroup>
|
||
12 years ago
|
<!-- Tools -->
|
||
|
<ItemGroup>
|
||
|
<ToolsTestContainer Include="$(SourceDirectory)\ProtoGen.Test\bin\NET35\Release\Google.ProtocolBuffers.ProtoGen.Test.dll" />
|
||
14 years ago
|
|
||
12 years ago
|
<ToolsOutputItem Include="$(SourceDirectory)\ProtocolBuffers\bin\NET35\Release\Google.ProtocolBuffers.dll" />
|
||
|
<ToolsOutputItem Include="$(SourceDirectory)\ProtocolBuffers.Serialization\bin\NET35\Release\Google.ProtocolBuffers.Serialization.dll" />
|
||
|
<ToolsOutputItem Include="$(SourceDirectory)\ProtoGen\bin\NET35\Release\ProtoGen.exe" />
|
||
|
<ToolsOutputItem Include="$(SourceDirectory)\ProtoGen\bin\NET35\Release\ProtoGen.exe.config" />
|
||
|
<ToolsOutputItem Include="$(SourceDirectory)\ProtoMunge\bin\NET35\Release\ProtoMunge.exe" />
|
||
|
<ToolsOutputItem Include="$(SourceDirectory)\ProtoDump\bin\NET35\Release\ProtoDump.exe" />
|
||
|
<ToolsOutputItem Include="$(SourceDirectory)\ProtoBench\bin\NET35\Release\ProtoBench.exe" />
|
||
|
<ToolsOutputItem Include="$(LibDirectory)\protoc.exe" />
|
||
|
<ToolsOutputItem Include="$(LibDirectory)\protoc-license.txt" />
|
||
|
</ItemGroup>
|
||
|
<!-- Temporary Directories -->
|
||
|
<ItemGroup>
|
||
|
<TempBuildFolder Include="$(BuildTempDirectory)" />
|
||
|
<TempBuildFolder Include="$(BuildOutputDirectory)" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\AddressBook\obj" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\AddressBook\bin" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\ProtoBench\obj" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\ProtoBench\bin" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\ProtocolBuffers\obj" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\ProtocolBuffers\bin" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\ProtocolBuffers.Serialization\obj" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\ProtocolBuffers.Serialization\bin" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\ProtocolBuffers.Test\obj" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\ProtocolBuffers.Test\bin" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\ProtocolBuffersLite.Test\obj" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\ProtocolBuffersLite.Test\bin" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\ProtoDump\obj" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\ProtoDump\bin" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\ProtoGen\obj" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\ProtoGen\bin" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\ProtoGen.Test\obj" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\ProtoGen.Test\bin" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\ProtoMunge\obj" />
|
||
|
<TempBuildFolder Include="$(SourceDirectory)\ProtoMunge\bin" />
|
||
|
</ItemGroup>
|
||
14 years ago
|
</Project>
|