build.csproj 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <PropertyGroup>
  4. <ProjectName>Protocol Buffers</ProjectName>
  5. <BuildConfiguration></BuildConfiguration>
  6. <!--Directory Paths-->
  7. <ProjectDirectory>$(MSBuildProjectDirectory)\..</ProjectDirectory>
  8. <ProtosDirectory>$(ProjectDirectory)\protos</ProtosDirectory>
  9. <BuildTempDirectory>$(ProjectDirectory)\build_temp\$(BuildConfiguration)</BuildTempDirectory>
  10. <BuildOutputDirectory>$(ProjectDirectory)\build_output</BuildOutputDirectory>
  11. <!--File Paths-->
  12. <SolutionFile>$(ProjectDirectory)\src\ProtocolBuffers.sln</SolutionFile>
  13. <!--Tool Paths-->
  14. <ProtocExePath>$(ProjectDirectory)\lib\protoc.exe</ProtocExePath>
  15. <ProtogenExePath>$(ProjectDirectory)\src\ProtoGen\bin\$(BuildConfiguration)\protogen.exe</ProtogenExePath>
  16. <NUnitExePath>$(ProjectDirectory)\lib\NUnit 2.2.8.0\nunit-console.exe</NUnitExePath>
  17. </PropertyGroup>
  18. <Import Project="Common.targets"/>
  19. <ItemGroup>
  20. <WorkingDirectories Include="$(BuildTempDirectory)" />
  21. <WorkingDirectories Include="$(BuildOutputDirectory)" />
  22. <Protos Include="$(ProtosDirectory)\google\protobuf\descriptor.proto" />
  23. <Protos Include="$(ProtosDirectory)\google\protobuf\csharp_options.proto" />
  24. <Protos Include="$(ProtosDirectory)\google\protobuf\unittest.proto" />
  25. <Protos Include="$(ProtosDirectory)\google\protobuf\unittest_csharp_options.proto" />
  26. <Protos Include="$(ProtosDirectory)\google\protobuf\unittest_custom_options.proto" />
  27. <Protos Include="$(ProtosDirectory)\google\protobuf\unittest_embed_optimize_for.proto" />
  28. <Protos Include="$(ProtosDirectory)\google\protobuf\unittest_import.proto" />
  29. <Protos Include="$(ProtosDirectory)\google\protobuf\unittest_mset.proto" />
  30. <Protos Include="$(ProtosDirectory)\google\protobuf\unittest_optimize_for.proto" />
  31. <Protos Include="$(ProtosDirectory)\tutorial\addressbook.proto" />
  32. <TestContainer Include="$(ProjectDirectory)\src\ProtocolBuffers.Test\bin\$(BuildConfiguration)\Google.ProtocolBuffers.Test.dll" />
  33. <TestContainer Include="$(ProjectDirectory)\src\ProtoGen.Test\bin\$(BuildConfiguration)\Google.ProtocolBuffers.ProtoGen.Test.dll" />
  34. </ItemGroup>
  35. <!-- targets -->
  36. <Target Name="Build" DependsOnTargets="_Compile;_Test" />
  37. <Target Name="RunBenchmarks" DependsOnTargets="_Compile" />
  38. <Target Name="GeneratePackage" />
  39. </Project>