Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
bf9821e0
Commit
bf9821e0
authored
Apr 03, 2011
by
Jon Skeet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes to package generation, and convert all tabs to spaces in MSBuild files.
parent
ce58e301
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
179 additions
and
178 deletions
+179
-178
Common.targets
build/Common.targets
+75
-74
GenerateCompletePackage.bat
build/GenerateCompletePackage.bat
+4
-4
GenerateReleasePackage.bat
build/GenerateReleasePackage.bat
+2
-2
build.csproj
build/build.csproj
+98
-98
No files found.
build/Common.targets
View file @
bf9821e0
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
</Target>
</Target>
<Target
Name=
"_Clean"
>
<Target
Name=
"_Clean"
>
<RemoveDir
Directories=
"@(WorkingDirectories)"
Condition=
"Exists(%(WorkingDirectories.Identity))"
/>
<RemoveDir
Directories=
"@(WorkingDirectories)"
Condition=
"Exists(%(WorkingDirectories.Identity))"
/>
<MakeDir
Directories=
"@(WorkingDirectories)"
/>
<MakeDir
Directories=
"@(WorkingDirectories)"
/>
<MSBuild
Projects=
"$(MSBuildProjectFullPath)"
Properties=
"SolutionTarget=Clean;BuildConfiguration=$(BuildConfiguration)"
Targets=
"_BuildSolution"
ContinueOnError=
"true"
/>
<MSBuild
Projects=
"$(MSBuildProjectFullPath)"
Properties=
"SolutionTarget=Clean;BuildConfiguration=$(BuildConfiguration)"
Targets=
"_BuildSolution"
ContinueOnError=
"true"
/>
</Target>
</Target>
...
@@ -24,13 +24,13 @@
...
@@ -24,13 +24,13 @@
<MSBuild
Projects=
"$(MSBuildProjectFullPath)"
Properties=
"Step=Two;SolutionTarget=Build;BuildConfiguration=$(BuildConfiguration)"
Targets=
"_BuildSolution"
/>
<MSBuild
Projects=
"$(MSBuildProjectFullPath)"
Properties=
"Step=Two;SolutionTarget=Build;BuildConfiguration=$(BuildConfiguration)"
Targets=
"_BuildSolution"
/>
</Target>
</Target>
<Target
Name=
"_GenerateSource"
>
<Target
Name=
"_GenerateSource"
>
<Exec
Command=
"$(ProtocExePath) --proto_path=$(ProtosDirectory) --descriptor_set_out=compiled.pb @(Protos->'%(RelativeDir)%(Filename)%(Extension)', ' ')"
WorkingDirectory=
"$(BuildTempDirectory)"
/>
<Exec
Command=
"$(ProtocExePath) --proto_path=$(ProtosDirectory) --descriptor_set_out=compiled.pb @(Protos->'%(RelativeDir)%(Filename)%(Extension)', ' ')"
WorkingDirectory=
"$(BuildTempDirectory)"
/>
<Exec
Command=
"$(ProtogenExePath) compiled.pb"
WorkingDirectory=
"$(BuildTempDirectory)"
/>
<Exec
Command=
"$(ProtogenExePath) compiled.pb"
WorkingDirectory=
"$(BuildTempDirectory)"
/>
</Target>
</Target>
<Target
Name=
"_CopyGeneratedSource"
DependsOnTargets=
"_GenerateSource"
>
<Target
Name=
"_CopyGeneratedSource"
DependsOnTargets=
"_GenerateSource"
>
<Copy
SourceFiles=
"%(GeneratedSource.Identity)"
DestinationFiles=
"%(GeneratedSource.TargetDirectory)\%(GeneratedSource.Filename)%(GeneratedSource.Extension)"
/>
<Copy
SourceFiles=
"%(GeneratedSource.Identity)"
DestinationFiles=
"%(GeneratedSource.TargetDirectory)\%(GeneratedSource.Filename)%(GeneratedSource.Extension)"
/>
</Target>
</Target>
<Target
Name=
"_Test"
DependsOnTargets=
"_CompileGeneratedSource"
Condition=
"$(BuildConfiguration)=='Debug' or $(BuildConfiguration)=='Release'"
>
<Target
Name=
"_Test"
DependsOnTargets=
"_CompileGeneratedSource"
Condition=
"$(BuildConfiguration)=='Debug' or $(BuildConfiguration)=='Release'"
>
...
@@ -38,74 +38,74 @@
...
@@ -38,74 +38,74 @@
</Target>
</Target>
<Target
Name=
"_RunTests"
>
<Target
Name=
"_RunTests"
>
<Exec
Command=
""$(NUnitExePath)" /noshadow %(TestContainer.Identity) /xml:$(BuildTempDirectory)\..\%(TestContainer.Filename).$(BuildConfiguration).xml"
/>
<Exec
Command=
""$(NUnitExePath)" /noshadow %(TestContainer.Identity) /xml:$(BuildTempDirectory)\..\%(TestContainer.Filename).$(BuildConfiguration).xml"
/>
</Target>
</Target>
<!--## Package Generation ##-->
<!--## Package Generation ##-->
<Target
Name=
"_CleanOutputDirectory"
>
<Target
Name=
"_CleanOutputDirectory"
>
<RemoveDir
Directories=
"$(BuildOutputDirectory)
"
ContinueOnError=
"true"
/>
<RemoveDir
Directories=
"$(ProjectDirectory)\build_output\Package
"
ContinueOnError=
"true"
/>
<
MakeDir
Directories=
"$(BuildOutputDirectory)
"
ContinueOnError=
"true"
/>
<
RemoveDir
Directories=
"$(ProjectDirectory)\build_output
"
ContinueOnError=
"true"
/>
</Target
>
<MakeDir
Directories=
"$(ProjectDirectory)\build_output"
ContinueOnError=
"true"
/
>
</Target>
<Target
Name=
"_PreparePackageComponent"
>
<Copy
SourceFiles=
"@(DynamicPackageItem)"
DestinationFolder=
"$(BuildOutputDirectory)\%(DynamicPackageItem.TargetDirectory)\%(DynamicPackageItem.RecursiveDir)"
/
>
<Target
Name=
"_PreparePackageComponent"
>
</Target
>
<Copy
SourceFiles=
"@(DynamicPackageItem)"
DestinationFolder=
"$(ProjectDirectory)\build_output\Package\$(BuildConfiguration)\%(DynamicPackageItem.TargetDirectory)\%(DynamicPackageItem.RecursiveDir)"
/
>
</Target>
<Target
Name=
"_GeneratePackage"
>
<Copy
SourceFiles=
"@(StaticPackageItem)"
DestinationFolder=
"$(BuildOutputDirectory)\%(StaticPackageItem.TargetDirectory)\%(StaticPackageItem.RecursiveDir)"
/
>
<Target
Name=
"_GeneratePackage"
>
<Exec
Command=
""$(ZipExePath)" a -tzip $(PackageName) * -r"
WorkingDirectory=
"$(BuildOutputDirectory
)"
/>
<Copy
SourceFiles=
"@(StaticPackageItem)"
DestinationFolder=
"$(ProjectDirectory)\build_output\Package\%(StaticPackageItem.TargetDirectory)\%(StaticPackageItem.RecursiveDir
)"
/>
<Exec
Command=
""$(ZipExePath)" a -tzip ..\$(PackageName) * -r"
WorkingDirectory=
"$(ProjectDirectory)\build_output\Package"
/>
</Target>
</Target>
<!--## Benchmark ##-->
<!--## Benchmark ##-->
<Target
Name=
"_GenerateBenchmarkSource"
DependsOnTargets=
"_Clean;_Compile"
>
<Target
Name=
"_GenerateBenchmarkSource"
DependsOnTargets=
"_Clean;_Compile"
>
<PropertyGroup>
<PropertyGroup>
<Args>
$(BenchmarkProtosDirectory)\google_size.proto $(BenchmarkProtosDirectory)\google_speed.proto
</Args>
<Args>
$(BenchmarkProtosDirectory)\google_size.proto $(BenchmarkProtosDirectory)\google_speed.proto
</Args>
</PropertyGroup>
</PropertyGroup>
<Exec
Command=
"$(ProtocExePath) --proto_path=$(BenchmarkProtosDirectory);$(ProtosDirectory) --include_imports=compiled.pb --descriptor_set_out=compiled.pb $(Args)"
WorkingDirectory=
"$(BuildTempDirectory)"
/>
<Exec
Command=
"$(ProtocExePath) --proto_path=$(BenchmarkProtosDirectory);$(ProtosDirectory) --include_imports=compiled.pb --descriptor_set_out=compiled.pb $(Args)"
WorkingDirectory=
"$(BuildTempDirectory)"
/>
<Exec
Command=
"$(ProtogenExePath) compiled.pb"
WorkingDirectory=
"$(BuildTempDirectory)"
/>
<Exec
Command=
"$(ProtogenExePath) compiled.pb"
WorkingDirectory=
"$(BuildTempDirectory)"
/>
</Target>
</Target>
<Target
Name=
"_CompileBenchmarkAssembly"
DependsOnTargets=
"_GenerateBenchmarkSource"
>
<Target
Name=
"_CompileBenchmarkAssembly"
DependsOnTargets=
"_GenerateBenchmarkSource"
>
<ItemGroup>
<ItemGroup>
<BenchmarkSources
Include=
"$(BuildTempDirectory)\GoogleSizeProtoFile.cs"
/>
<BenchmarkSources
Include=
"$(BuildTempDirectory)\GoogleSizeProtoFile.cs"
/>
<BenchmarkSources
Include=
"$(BuildTempDirectory)\GoogleSpeedProtoFile.cs"
/>
<BenchmarkSources
Include=
"$(BuildTempDirectory)\GoogleSpeedProtoFile.cs"
/>
<BenchmarkSources
Include=
"$(SourceDirectory)\ProtoBench\Properties\AssemblyInfo.cs"
/>
<BenchmarkSources
Include=
"$(SourceDirectory)\ProtoBench\Properties\AssemblyInfo.cs"
/>
</ItemGroup>
</ItemGroup>
<Csc
TargetType=
"library"
OutputAssembly=
"$(BuildTempDirectory)\BenchmarkTypes.dll"
Optimize=
"true"
Sources=
"@(BenchmarkSources)"
References=
"$(SourceDirectory)\ProtocolBuffers\bin\$(BuildConfiguration)\Google.ProtocolBuffers.dll"
/>
<Csc
TargetType=
"library"
OutputAssembly=
"$(BuildTempDirectory)\BenchmarkTypes.dll"
Optimize=
"true"
Sources=
"@(BenchmarkSources)"
References=
"$(SourceDirectory)\ProtocolBuffers\bin\$(BuildConfiguration)\Google.ProtocolBuffers.dll"
/>
</Target>
</Target>
<Target
Name=
"_PrepareBenchmarkEnvironment"
DependsOnTargets=
"_CompileBenchmarkAssembly"
>
<Target
Name=
"_PrepareBenchmarkEnvironment"
DependsOnTargets=
"_CompileBenchmarkAssembly"
>
<ItemGroup>
<ItemGroup>
<BenchmarkResources
Include=
"$(BenchmarkProtosDirectory)\google_message1.dat"
/>
<BenchmarkResources
Include=
"$(BenchmarkProtosDirectory)\google_message1.dat"
/>
<BenchmarkResources
Include=
"$(BenchmarkProtosDirectory)\google_message2.dat"
/>
<BenchmarkResources
Include=
"$(BenchmarkProtosDirectory)\google_message2.dat"
/>
<BenchmarkResources
Include=
"$(SourceDirectory)\ProtocolBuffers\bin\$(BuildConfiguration)\Google.ProtocolBuffers.dll"
/>
<BenchmarkResources
Include=
"$(SourceDirectory)\ProtocolBuffers\bin\$(BuildConfiguration)\Google.ProtocolBuffers.dll"
/>
<BenchmarkResources
Include=
"$(SourceDirectory)\ProtoBench\bin\$(BuildConfiguration)\ProtoBench.exe"
/>
<BenchmarkResources
Include=
"$(SourceDirectory)\ProtoBench\bin\$(BuildConfiguration)\ProtoBench.exe"
/>
</ItemGroup>
</ItemGroup>
<Copy
SourceFiles=
"@(BenchmarkResources)"
DestinationFolder=
"$(BuildTempDirectory)"
/>
<Copy
SourceFiles=
"@(BenchmarkResources)"
DestinationFolder=
"$(BuildTempDirectory)"
/>
</Target>
</Target>
<Target
Name=
"_RunBenchmarks"
DependsOnTargets=
"_PrepareBenchmarkEnvironment"
>
<Target
Name=
"_RunBenchmarks"
DependsOnTargets=
"_PrepareBenchmarkEnvironment"
>
<ItemGroup>
<ItemGroup>
<BenchmarkParameter
Include=
"Google.ProtocolBuffers.ProtoBench.SizeMessage1,BenchmarkTypes"
/>
<BenchmarkParameter
Include=
"Google.ProtocolBuffers.ProtoBench.SizeMessage1,BenchmarkTypes"
/>
<BenchmarkParameter
Include=
"google_message1.dat"
/>
<BenchmarkParameter
Include=
"google_message1.dat"
/>
<BenchmarkParameter
Include=
"Google.ProtocolBuffers.ProtoBench.SpeedMessage1,BenchmarkTypes"
/>
<BenchmarkParameter
Include=
"Google.ProtocolBuffers.ProtoBench.SpeedMessage1,BenchmarkTypes"
/>
<BenchmarkParameter
Include=
"google_message1.dat"
/>
<BenchmarkParameter
Include=
"google_message1.dat"
/>
<BenchmarkParameter
Include=
"Google.ProtocolBuffers.ProtoBench.SizeMessage2,BenchmarkTypes"
/>
<BenchmarkParameter
Include=
"Google.ProtocolBuffers.ProtoBench.SizeMessage2,BenchmarkTypes"
/>
<BenchmarkParameter
Include=
"google_message2.dat"
/>
<BenchmarkParameter
Include=
"google_message2.dat"
/>
<BenchmarkParameter
Include=
"Google.ProtocolBuffers.ProtoBench.SpeedMessage2,BenchmarkTypes"
/>
<BenchmarkParameter
Include=
"Google.ProtocolBuffers.ProtoBench.SpeedMessage2,BenchmarkTypes"
/>
<BenchmarkParameter
Include=
"google_message2.dat"
/>
<BenchmarkParameter
Include=
"google_message2.dat"
/>
</ItemGroup>
</ItemGroup>
<PropertyGroup>
<PropertyGroup>
<BenchmarkParameterList>
@(BenchmarkParameter)
</BenchmarkParameterList>
<BenchmarkParameterList>
@(BenchmarkParameter)
</BenchmarkParameterList>
<Args>
$(BenchmarkParameterList.Replace(`;`,` `))
</Args>
<Args>
$(BenchmarkParameterList.Replace(`;`,` `))
</Args>
</PropertyGroup>
</PropertyGroup>
<Exec
Command=
""$(ProtoBenchExePath)" @(BenchmarkParameter->'%(Identity)', ' ') > "$(BuildTempDirectory)\..\BenchmarkResults.txt""
WorkingDirectory=
"$(BuildTempDirectory)"
/>
<Exec
Command=
""$(ProtoBenchExePath)" @(BenchmarkParameter->'%(Identity)', ' ') > "$(BuildTempDirectory)\..\BenchmarkResults.txt""
WorkingDirectory=
"$(BuildTempDirectory)"
/>
</Target>
</Target>
</Project>
</Project>
\ No newline at end of file
build/GenerateCompletePackage.bat
View file @
bf9821e0
...
@@ -2,16 +2,16 @@
...
@@ -2,16 +2,16 @@
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:PrepareOutputDirectory
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:PrepareOutputDirectory
IF ERRORLEVEL 1 GOTO END
IF ERRORLEVEL 1 GOTO END
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:
B
uild;PreparePackageComponent /p:BuildConfiguration=Debug /p:Platform="Any CPU"
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:
Reb
uild;PreparePackageComponent /p:BuildConfiguration=Debug /p:Platform="Any CPU"
IF ERRORLEVEL 1 GOTO END
IF ERRORLEVEL 1 GOTO END
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:
B
uild;PreparePackageComponent /p:BuildConfiguration=Debug_Silverlight2 /p:Platform="Any CPU"
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:
Reb
uild;PreparePackageComponent /p:BuildConfiguration=Debug_Silverlight2 /p:Platform="Any CPU"
IF ERRORLEVEL 1 GOTO END
IF ERRORLEVEL 1 GOTO END
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:
B
uild;PreparePackageComponent /p:BuildConfiguration=Release /p:Platform="Any CPU"
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:
Reb
uild;PreparePackageComponent /p:BuildConfiguration=Release /p:Platform="Any CPU"
IF ERRORLEVEL 1 GOTO END
IF ERRORLEVEL 1 GOTO END
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:
B
uild;PreparePackageComponent /p:BuildConfiguration=Release_Silverlight2 /p:Platform="Any CPU"
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:
Reb
uild;PreparePackageComponent /p:BuildConfiguration=Release_Silverlight2 /p:Platform="Any CPU"
IF ERRORLEVEL 1 GOTO END
IF ERRORLEVEL 1 GOTO END
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:GeneratePackage /p:PackageName=AllBinariesAndSource.zip /p:Platform="Any CPU"
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:GeneratePackage /p:PackageName=AllBinariesAndSource.zip /p:Platform="Any CPU"
...
...
build/GenerateReleasePackage.bat
View file @
bf9821e0
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:PrepareOutputDirectory
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:PrepareOutputDirectory
IF ERRORLEVEL 1 GOTO END
IF ERRORLEVEL 1 GOTO END
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:
B
uild;PreparePackageComponent /p:BuildConfiguration=Release /p:Platform="Any CPU"
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:
Reb
uild;PreparePackageComponent /p:BuildConfiguration=Release /p:Platform="Any CPU"
IF ERRORLEVEL 1 GOTO END
IF ERRORLEVEL 1 GOTO END
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:
B
uild;PreparePackageComponent /p:BuildConfiguration=Release_Silverlight2 /p:Platform="Any CPU"
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:
Reb
uild;PreparePackageComponent /p:BuildConfiguration=Release_Silverlight2 /p:Platform="Any CPU"
IF ERRORLEVEL 1 GOTO END
IF ERRORLEVEL 1 GOTO END
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:GeneratePackage /p:PackageName=ReleaseBinaries.zip /p:Platform="Any CPU"
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:GeneratePackage /p:PackageName=ReleaseBinaries.zip /p:Platform="Any CPU"
...
...
build/build.csproj
View file @
bf9821e0
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"4.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<Project
ToolsVersion=
"4.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<PropertyGroup>
<PropertyGroup>
<ProjectName>
Protocol Buffers
</ProjectName>
<ProjectName>
Protocol Buffers
</ProjectName>
<BuildConfiguration
Condition=
" '$(BuildConfiguration)' == '' "
>
Error
</BuildConfiguration>
<BuildConfiguration
Condition=
" '$(BuildConfiguration)' == '' "
>
Error
</BuildConfiguration>
<BuildTools
Condition=
" '$(BuildTools)' == '' "
>
4.0
</BuildTools>
<BuildTools
Condition=
" '$(BuildTools)' == '' "
>
4.0
</BuildTools>
<ForcedFrameworkVersion
Condition=
" '$(BuildTools)' == '3.5' "
>
TargetFrameworkVersion=v2.0;
</ForcedFrameworkVersion>
<ForcedFrameworkVersion
Condition=
" '$(BuildTools)' == '3.5' "
>
TargetFrameworkVersion=v2.0;
</ForcedFrameworkVersion>
<!--Directory Paths-->
<!--Directory Paths-->
<ProjectDirectory>
$(MSBuildProjectDirectory)\..
</ProjectDirectory>
<ProjectDirectory>
$(MSBuildProjectDirectory)\..
</ProjectDirectory>
<SourceDirectory>
$(ProjectDirectory)\src
</SourceDirectory>
<SourceDirectory>
$(ProjectDirectory)\src
</SourceDirectory>
<LibDirectory>
$(ProjectDirectory)\lib
</LibDirectory>
<LibDirectory>
$(ProjectDirectory)\lib
</LibDirectory>
<ProtosDirectory>
$(ProjectDirectory)\protos
</ProtosDirectory>
<ProtosDirectory>
$(ProjectDirectory)\protos
</ProtosDirectory>
<BenchmarkProtosDirectory>
$(ProjectDirectory)\benchmarks
</BenchmarkProtosDirectory>
<BenchmarkProtosDirectory>
$(ProjectDirectory)\benchmarks
</BenchmarkProtosDirectory>
<BuildTempDirectory>
$(ProjectDirectory)\build_temp\$(BuildConfiguration)
</BuildTempDirectory>
<BuildTempDirectory>
$(ProjectDirectory)\build_temp\$(BuildConfiguration)
</BuildTempDirectory>
<BuildOutputDirectory>
$(ProjectDirectory)\build_output\$(BuildConfiguration)
</BuildOutputDirectory>
<BuildOutputDirectory>
$(ProjectDirectory)\build_output\$(BuildConfiguration)
</BuildOutputDirectory>
<PackageName
Condition=
" '$(PackageName)' == '' "
>
$(BuildConfiguration)
</PackageName>
<PackageName
Condition=
" '$(PackageName)' == '' "
>
$(BuildConfiguration)
</PackageName>
<!--File Paths-->
<!--File Paths-->
<SolutionFile
Condition=
" '$(BuildTools)' == '4.0' "
>
$(SourceDirectory)\ProtocolBuffers.sln
</SolutionFile>
<SolutionFile
Condition=
" '$(BuildTools)' == '4.0' "
>
$(SourceDirectory)\ProtocolBuffers.sln
</SolutionFile>
<SolutionFile
Condition=
" '$(BuildTools)' == '3.5' "
>
$(SourceDirectory)\ProtocolBuffers2008.sln
</SolutionFile>
<SolutionFile
Condition=
" '$(BuildTools)' == '3.5' "
>
$(SourceDirectory)\ProtocolBuffers2008.sln
</SolutionFile>
<!--Tool Paths-->
<!--Tool Paths-->
<ProtocExePath>
$(LibDirectory)\protoc.exe
</ProtocExePath>
<ProtocExePath>
$(LibDirectory)\protoc.exe
</ProtocExePath>
<ProtogenExePath>
$(SourceDirectory)\ProtoGen\bin\$(BuildConfiguration)\protogen.exe
</ProtogenExePath>
<ProtogenExePath>
$(SourceDirectory)\ProtoGen\bin\$(BuildConfiguration)\protogen.exe
</ProtogenExePath>
<ProtoBenchExePath>
$(BuildTempDirectory)\ProtoBench.exe
</ProtoBenchExePath>
<ProtoBenchExePath>
$(BuildTempDirectory)\ProtoBench.exe
</ProtoBenchExePath>
<NUnitExePath>
$(LibDirectory)\NUnit 2.2.8.0\nunit-console.exe
</NUnitExePath>
<NUnitExePath>
$(LibDirectory)\NUnit 2.2.8.0\nunit-console.exe
</NUnitExePath>
<ZipExePath>
$(LibDirectory)\7-Zip 9.20\7za.exe
</ZipExePath>
<ZipExePath>
$(LibDirectory)\7-Zip 9.20\7za.exe
</ZipExePath>
</PropertyGroup>
</PropertyGroup>
<Import
Project=
"Common.targets"
/>
<Import
Project=
"Common.targets"
/>
<ItemGroup>
<ItemGroup>
<WorkingDirectories
Include=
"$(BuildTempDirectory)"
/>
<WorkingDirectories
Include=
"$(BuildTempDirectory)"
/>
<WorkingDirectories
Include=
"$(BuildOutputDirectory)"
/>
<WorkingDirectories
Include=
"$(BuildOutputDirectory)"
/>
<Protos
Include=
"$(ProtosDirectory)\extest\unittest_extras_full.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\extest\unittest_extras_full.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\extest\unittest_extras_lite.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\extest\unittest_extras_lite.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\descriptor.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\descriptor.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\csharp_options.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\csharp_options.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\unittest.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\unittest.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\unittest_csharp_options.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_custom_options.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\unittest_embed_optimize_for.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_empty.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\unittest_import.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\unittest_import.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\unittest_import_lite.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\unittest_import_lite.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\unittest_lite.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\unittest_lite.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\unittest_lite_imports_nonlite.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\unittest_lite_imports_nonlite.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\unittest_mset.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\unittest_mset.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\unittest_no_generic_services.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\unittest_no_generic_services.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\unittest_optimize_for.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\google\protobuf\unittest_optimize_for.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\tutorial\addressbook.proto"
/>
<Protos
Include=
"$(ProtosDirectory)\tutorial\addressbook.proto"
/>
<!-- Main protos -->
<!-- Main protos -->
<GeneratedSource
Include=
"$(BuildTempDirectory)\CSharpOptions.cs"
>
<GeneratedSource
Include=
"$(BuildTempDirectory)\CSharpOptions.cs"
>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers\DescriptorProtos
</TargetDirectory>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers\DescriptorProtos
</TargetDirectory>
</GeneratedSource>
</GeneratedSource>
<GeneratedSource
Include=
"$(BuildTempDirectory)\DescriptorProtoFile.cs"
>
<GeneratedSource
Include=
"$(BuildTempDirectory)\DescriptorProtoFile.cs"
>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers\DescriptorProtos
</TargetDirectory>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers\DescriptorProtos
</TargetDirectory>
</GeneratedSource>
</GeneratedSource>
<!-- Address book sample -->
<!-- Address book sample -->
<GeneratedSource
Include=
"$(BuildTempDirectory)\AddressBookProtos.cs"
>
<GeneratedSource
Include=
"$(BuildTempDirectory)\AddressBookProtos.cs"
>
<TargetDirectory>
$(SourceDirectory)\AddressBook
</TargetDirectory>
<TargetDirectory>
$(SourceDirectory)\AddressBook
</TargetDirectory>
</GeneratedSource>
</GeneratedSource>
<!-- Unit test -->
<!-- Unit test -->
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestCSharpOptionsProtoFile.cs"
>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestCSharpOptionsProtoFile.cs"
>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
</GeneratedSource>
</GeneratedSource>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestCustomOptionsProtoFile.cs"
>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestCustomOptionsProtoFile.cs"
>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
</GeneratedSource>
</GeneratedSource>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestEmbedOptimizeForProtoFile.cs"
>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestEmbedOptimizeForProtoFile.cs"
>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
</GeneratedSource>
</GeneratedSource>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestEmptyProtoFile.cs"
>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestEmptyProtoFile.cs"
>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
</GeneratedSource>
</GeneratedSource>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestImportLiteProtoFile.cs"
>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestImportLiteProtoFile.cs"
>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
</GeneratedSource>
</GeneratedSource>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestImportProtoFile.cs"
>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestImportProtoFile.cs"
>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
</GeneratedSource>
</GeneratedSource>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestMessageSetProtoFile.cs"
>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestMessageSetProtoFile.cs"
>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
</GeneratedSource>
</GeneratedSource>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestNoGenericServicesProtoFile.cs"
>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestNoGenericServicesProtoFile.cs"
>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
</GeneratedSource>
</GeneratedSource>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestOptimizeForProtoFile.cs"
>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestOptimizeForProtoFile.cs"
>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
</GeneratedSource>
</GeneratedSource>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestProtoFile.cs"
>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestProtoFile.cs"
>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffers.Test\TestProtos
</TargetDirectory>
</GeneratedSource>
</GeneratedSource>
<!-- Lite unit test -->
<!-- Lite unit test -->
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestExtrasFullProtoFile.cs"
>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestExtrasFullProtoFile.cs"
>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffersLite.Test\TestProtos
</TargetDirectory>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffersLite.Test\TestProtos
</TargetDirectory>
...
@@ -116,29 +116,29 @@
...
@@ -116,29 +116,29 @@
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestProtoFile.cs"
>
<GeneratedSource
Include=
"$(BuildTempDirectory)\UnitTestProtoFile.cs"
>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffersLite.Test\TestProtos
</TargetDirectory>
<TargetDirectory>
$(SourceDirectory)\ProtocolBuffersLite.Test\TestProtos
</TargetDirectory>
</GeneratedSource>
</GeneratedSource>
<TestContainer
Include=
"$(SourceDirectory)\ProtocolBuffers.Test\bin\$(BuildConfiguration)\Google.ProtocolBuffers.Test.dll"
/>
<TestContainer
Include=
"$(SourceDirectory)\ProtocolBuffers.Test\bin\$(BuildConfiguration)\Google.ProtocolBuffers.Test.dll"
/>
<TestContainer
Include=
"$(SourceDirectory)\ProtocolBuffersLite.Test\bin\$(BuildConfiguration)\Google.ProtocolBuffersLite.Test.dll"
/>
<TestContainer
Include=
"$(SourceDirectory)\ProtocolBuffersLite.Test\bin\$(BuildConfiguration)\Google.ProtocolBuffersLite.Test.dll"
/>
<TestContainer
Include=
"$(SourceDirectory)\ProtocolBuffersLite.Test\bin\$(BuildConfiguration)\Google.ProtocolBuffersMixedLite.Test.dll"
/>
<TestContainer
Include=
"$(SourceDirectory)\ProtocolBuffersLite.Test\bin\$(BuildConfiguration)\Google.ProtocolBuffersMixedLite.Test.dll"
/>
<TestContainer
Include=
"$(SourceDirectory)\ProtoGen.Test\bin\$(BuildConfiguration)\Google.ProtocolBuffers.ProtoGen.Test.dll"
/>
<TestContainer
Include=
"$(SourceDirectory)\ProtoGen.Test\bin\$(BuildConfiguration)\Google.ProtocolBuffers.ProtoGen.Test.dll"
/>
<DynamicPackageItem
Include=
"$(SourceDirectory)\ProtocolBuffers\bin\$(BuildConfiguration)\Google.ProtocolBuffers.*"
/>
<DynamicPackageItem
Include=
"$(SourceDirectory)\ProtocolBuffers\bin\$(BuildConfiguration)\Google.ProtocolBuffers.*"
/>
<DynamicPackageItem
Include=
"$(SourceDirectory)\ProtocolBuffers\bin\$(BuildConfiguration)\Google.ProtocolBuffersLite.*"
/>
<DynamicPackageItem
Include=
"$(SourceDirectory)\ProtocolBuffers\bin\$(BuildConfiguration)\Google.ProtocolBuffersLite.*"
/>
<DynamicPackageItem
Include=
"$(SourceDirectory)\ProtoGen\bin\$(BuildConfiguration)\ProtoGen.*"
/>
<DynamicPackageItem
Include=
"$(SourceDirectory)\ProtoGen\bin\$(BuildConfiguration)\ProtoGen.*"
/>
<DynamicPackageItem
Include=
"$(SourceDirectory)\ProtoMunge\bin\$(BuildConfiguration)\ProtoMunge.*"
/>
<DynamicPackageItem
Include=
"$(SourceDirectory)\ProtoMunge\bin\$(BuildConfiguration)\ProtoMunge.*"
/>
<DynamicPackageItem
Include=
"$(SourceDirectory)\ProtoDump\bin\$(BuildConfiguration)\ProtoDump.*"
/>
<DynamicPackageItem
Include=
"$(SourceDirectory)\ProtoDump\bin\$(BuildConfiguration)\ProtoDump.*"
/>
<DynamicPackageItem
Include=
"$(SourceDirectory)\ProtoBench\bin\$(BuildConfiguration)\ProtoBench.*"
/>
<DynamicPackageItem
Include=
"$(SourceDirectory)\ProtoBench\bin\$(BuildConfiguration)\ProtoBench.*"
/>
<StaticPackageItem
Include=
"$(ProjectDirectory)\readme.txt"
/>
<StaticPackageItem
Include=
"$(ProjectDirectory)\readme.txt"
/>
<StaticPackageItem
Include=
"$(ProjectDirectory)\license.txt"
/>
<StaticPackageItem
Include=
"$(ProjectDirectory)\license.txt"
/>
<StaticPackageItem
Include=
"$(ProjectDirectory)\protos\**\*.*"
>
<StaticPackageItem
Include=
"$(ProjectDirectory)\protos\**\*.*"
>
<TargetDirectory>
\protos
</TargetDirectory>
<TargetDirectory>
\protos
</TargetDirectory>
</StaticPackageItem>
</StaticPackageItem>
<StaticPackageItem
Include=
"$(LibDirectory)\Protoc*"
>
<StaticPackageItem
Include=
"$(LibDirectory)\Protoc*"
>
<TargetDirectory>
\Protoc
</TargetDirectory>
<TargetDirectory>
\Protoc
</TargetDirectory>
</StaticPackageItem>
</StaticPackageItem>
</ItemGroup>
</ItemGroup>
<!-- targets -->
<!-- targets -->
<Target
Name=
"Clean"
DependsOnTargets=
"_Clean"
/>
<Target
Name=
"Clean"
DependsOnTargets=
"_Clean"
/>
...
@@ -146,9 +146,9 @@
...
@@ -146,9 +146,9 @@
<Target
Name=
"Test"
DependsOnTargets=
"_RunTests"
/>
<Target
Name=
"Test"
DependsOnTargets=
"_RunTests"
/>
<Target
Name=
"Rebuild"
DependsOnTargets=
"Clean;Build"
/>
<Target
Name=
"Rebuild"
DependsOnTargets=
"Clean;Build"
/>
<Target
Name=
"BuildPackage"
DependsOnTargets=
"PrepareOutputDirectory;PreparePackageComponent;GeneratePackage"
/>
<Target
Name=
"BuildPackage"
DependsOnTargets=
"PrepareOutputDirectory;PreparePackageComponent;GeneratePackage"
/>
<Target
Name=
"PrepareOutputDirectory"
DependsOnTargets=
"_CleanOutputDirectory"
/>
<Target
Name=
"PrepareOutputDirectory"
DependsOnTargets=
"_CleanOutputDirectory"
/>
<Target
Name=
"PreparePackageComponent"
DependsOnTargets=
"_PreparePackageComponent"
/>
<Target
Name=
"PreparePackageComponent"
DependsOnTargets=
"_PreparePackageComponent"
/>
<Target
Name=
"GeneratePackage"
DependsOnTargets=
"_GeneratePackage"
/>
<Target
Name=
"GeneratePackage"
DependsOnTargets=
"_GeneratePackage"
/>
<Target
Name=
"RunBenchmarks"
DependsOnTargets=
"_RunBenchmarks"
/>
<Target
Name=
"RunBenchmarks"
DependsOnTargets=
"_RunBenchmarks"
/>
</Project>
</Project>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment