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.
162 lines
8.1 KiB
162 lines
8.1 KiB
<?xml version="1.0" encoding="utf-8"?> |
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|
|
|
<PropertyGroup> |
|
<ProjectName>Protocol Buffers</ProjectName> |
|
<BuildConfiguration>Debug</BuildConfiguration> |
|
<CompileGroup>BuildAll</CompileGroup> |
|
|
|
<!--Directory Paths--> |
|
<ProjectDirectory>$(MSBuildProjectDirectory)\..</ProjectDirectory> |
|
<BuildTempDirectory>$(ProjectDirectory)\_tmp</BuildTempDirectory> |
|
<BenchmarkTempDirectory>$(ProjectDirectory)\_benchmark</BenchmarkTempDirectory> |
|
<PackageOutputDirectory>$(ProjectDirectory)\_dist</PackageOutputDirectory> |
|
<SourceDirectory>$(ProjectDirectory)\src</SourceDirectory> |
|
<BenchmarkProtosDirectory>$(ProjectDirectory)\benchmarks</BenchmarkProtosDirectory> |
|
<ProtosDirectory>$(ProjectDirectory)\protos</ProtosDirectory> |
|
<LibDirectory>$(ProjectDirectory)\lib</LibDirectory> |
|
|
|
<!--File Paths--> |
|
<SolutionFile>$(ProjectDirectory)\src\ProtocolBuffers.sln</SolutionFile> |
|
|
|
<!--Tools--> |
|
<ProtocExePath>$(LibDirectory)\protoc.exe</ProtocExePath> |
|
<ProtogenExePath>$(SourceDirectory)\ProtoGen\bin\$(BuildConfiguration)\protogen.exe</ProtogenExePath> |
|
<NUnitExePath>$(LibDirectory)\NUnit 2.2.8.0\nunit-console.exe</NUnitExePath> |
|
</PropertyGroup> |
|
|
|
<Import Project="Common.targets"/> |
|
|
|
<ItemGroup> |
|
<WorkingDirectories Include="$(BuildTempDirectory)" /> |
|
<WorkingDirectories Include="$(BenchmarkTempDirectory)" /> |
|
<WorkingDirectories Include="$(PackageOutputDirectory)" /> |
|
|
|
<Solution Include="$(SolutionFile)"> |
|
<Configuration>$(BuildConfiguration)</Configuration> |
|
<Platform>Any CPU</Platform> |
|
<BuildTarget>Build</BuildTarget> |
|
<CompileGroup>Build</CompileGroup> |
|
</Solution> |
|
<Solution Include="$(SolutionFile)"> |
|
<Configuration>Debug</Configuration> |
|
<Platform>Any CPU</Platform> |
|
<BuildTarget>Build</BuildTarget> |
|
<CompileGroup>BuildAll</CompileGroup> |
|
</Solution> |
|
<Solution Include="$(SolutionFile)"> |
|
<Configuration>Release</Configuration> |
|
<Platform>Any CPU</Platform> |
|
<BuildTarget>Build</BuildTarget> |
|
<CompileGroup>BuildAll</CompileGroup> |
|
</Solution> |
|
<Solution Include="$(SolutionFile)"> |
|
<Configuration>Silverlight2</Configuration> |
|
<Platform>Any CPU</Platform> |
|
<BuildTarget>Build</BuildTarget> |
|
<CompileGroup>BuildAll</CompileGroup> |
|
</Solution> |
|
<!--<Solution Include="$(ProjectDirectory)\src\ProtocolBuffers/ProtocolBuffersCF.csproj"> |
|
<Configuration>$(BuildConfiguration)</Configuration> |
|
<Platform>AnyCPU</Platform> |
|
<BuildTarget>Build</BuildTarget> |
|
<CompileGroup>BuildAll</CompileGroup> |
|
</Solution>--> |
|
|
|
<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_import.proto" /> |
|
<Protos Include="$(ProtosDirectory)\google\protobuf\unittest_mset.proto" /> |
|
<Protos Include="$(ProtosDirectory)\google\protobuf\unittest_optimize_for.proto" /> |
|
<Protos Include="$(ProtosDirectory)\tutorial\addressbook.proto" /> |
|
|
|
<GeneratedSource Include="$(BuildTempDirectory)\CSharpOptions.cs"> |
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers\DescriptorProtos</TargetDirectory> |
|
</GeneratedSource> |
|
<GeneratedSource Include="$(BuildTempDirectory)\DescriptorProtoFile.cs"> |
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers\DescriptorProtos</TargetDirectory> |
|
</GeneratedSource> |
|
<GeneratedSource Include="$(BuildTempDirectory)\UnitTestMessageSetProtoFile.cs"> |
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory> |
|
</GeneratedSource> |
|
<GeneratedSource Include="$(BuildTempDirectory)\UnitTestOptimizeForProtoFile.cs"> |
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory> |
|
</GeneratedSource> |
|
<GeneratedSource Include="$(BuildTempDirectory)\UnitTestProtoFile.cs"> |
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory> |
|
</GeneratedSource> |
|
<GeneratedSource Include="$(BuildTempDirectory)\AddressBookProtos.cs"> |
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory> |
|
</GeneratedSource> |
|
<GeneratedSource Include="$(BuildTempDirectory)\UnitTestCSharpOptionsProtoFile.cs"> |
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory> |
|
</GeneratedSource> |
|
<GeneratedSource Include="$(BuildTempDirectory)\UnitTestCustomOptionsProtoFile.cs"> |
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory> |
|
</GeneratedSource> |
|
<GeneratedSource Include="$(BuildTempDirectory)\UnitTestEmbedOptimizeForProtoFile.cs"> |
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory> |
|
</GeneratedSource> |
|
<GeneratedSource Include="$(BuildTempDirectory)\UnitTestImportProtoFile.cs"> |
|
<TargetDirectory>$(SourceDirectory)\ProtocolBuffers.Test\TestProtos</TargetDirectory> |
|
</GeneratedSource> |
|
|
|
<NUnitTests Include="$(SourceDirectory)\ProtocolBuffers.Test\bin\$(BuildConfiguration)\Google.ProtocolBuffers.Test.dll" /> |
|
<NUnitTests Include="$(SourceDirectory)\Protogen.Test\bin\$(BuildConfiguration)\Google.ProtocolBuffers.ProtoGen.Test.dll" /> |
|
|
|
<PackageContents Include="$(ProjectDirectory)\readme.txt" /> |
|
<PackageContents Include="$(ProjectDirectory)\license.txt" /> |
|
<PackageContents Include="$(ProjectDirectory)\protos\**\*.*"> |
|
<TargetDirectory>\protos</TargetDirectory> |
|
</PackageContents> |
|
<PackageContents Include="$(SourceDirectory)\ProtocolBuffers\bin\Debug\Google.ProtocolBuffers.*"> |
|
<TargetDirectory>\Debug</TargetDirectory> |
|
</PackageContents> |
|
<PackageContents Include="$(SourceDirectory)\ProtoGen\bin\Debug\ProtoGen.*"> |
|
<TargetDirectory>\Debug</TargetDirectory> |
|
</PackageContents> |
|
<PackageContents Include="$(SourceDirectory)\ProtoMunge\bin\Debug\ProtoMunge.*"> |
|
<TargetDirectory>\Debug</TargetDirectory> |
|
</PackageContents> |
|
<PackageContents Include="$(SourceDirectory)\ProtoDump\bin\Debug\ProtoDump.*"> |
|
<TargetDirectory>\Debug</TargetDirectory> |
|
</PackageContents> |
|
<PackageContents Include="$(SourceDirectory)\ProtoBench\bin\Debug\ProtoBench.*"> |
|
<TargetDirectory>\Debug</TargetDirectory> |
|
</PackageContents> |
|
<PackageContents Include="$(SourceDirectory)\ProtocolBuffers\bin\Release\Google.ProtocolBuffers.*"> |
|
<TargetDirectory>\Release</TargetDirectory> |
|
</PackageContents> |
|
<PackageContents Include="$(SourceDirectory)\ProtoGen\bin\Release\ProtoGen.*"> |
|
<TargetDirectory>\Release</TargetDirectory> |
|
</PackageContents> |
|
<PackageContents Include="$(SourceDirectory)\ProtoMunge\bin\Release\ProtoMunge.*"> |
|
<TargetDirectory>\Release</TargetDirectory> |
|
</PackageContents> |
|
<PackageContents Include="$(SourceDirectory)\ProtoDump\bin\Release\ProtoDump.*"> |
|
<TargetDirectory>\Release</TargetDirectory> |
|
</PackageContents> |
|
<PackageContents Include="$(SourceDirectory)\ProtoBench\bin\Release\ProtoBench.*"> |
|
<TargetDirectory>\Release</TargetDirectory> |
|
</PackageContents> |
|
<PackageContents Include="$(SourceDirectory)\ProtocolBuffers\bin\Silverlight2\Google.ProtocolBuffers.*"> |
|
<TargetDirectory>\Silverlight2</TargetDirectory> |
|
</PackageContents> |
|
<!--<PackageContents Include="$(SourceDirectory)\ProtocolBuffers\bin\ReleaseCF\Google.ProtocolBuffers.*"> |
|
<TargetDirectory>\CompactFramework35</TargetDirectory> |
|
</PackageContents>--> |
|
<PackageContents Include="$(LibDirectory)\Protoc*"> |
|
<TargetDirectory>\Protoc</TargetDirectory> |
|
</PackageContents> |
|
</ItemGroup> |
|
|
|
<!--target groups--> |
|
<Target Name="Build" DependsOnTargets="_GenerateSource;_CopyGeneratedSource;_CompileGeneratedSource;_Test;_Package" /> |
|
<Target Name="BuildAll" DependsOnTargets="_GenerateSource;_CopyGeneratedSource;_CompileGeneratedSource;_Test;_Package" /> |
|
<Target Name="Benchmark" DependsOnTargets="_GenerateBenchmarkSource;_CompileBenchmarkAssembly;_PrepareBenchmarkEnvironment;_RunBenchmark" /> |
|
|
|
</Project>
|
|
|