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
55a212d3
Commit
55a212d3
authored
Feb 08, 2010
by
Jon Skeet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better support for Compact Framework builds
parent
b075ff5c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
10 deletions
+55
-10
ProtocolBuffers.build
ProtocolBuffers.build
+50
-7
ProtocolBuffersCF.csproj
src/ProtocolBuffers/ProtocolBuffersCF.csproj
+2
-2
todo.txt
todo.txt
+3
-1
No files found.
ProtocolBuffers.build
View file @
55a212d3
...
@@ -232,18 +232,61 @@
...
@@ -232,18 +232,61 @@
</nunit2>
</nunit2>
</target>
</target>
<target
name=
"build-all-configs"
description=
"Builds all versions of the main library"
>
<msbuild
project=
"${src}/ProtocolBuffers.sln"
>
<property
name=
"Configuration"
value=
"Debug"
/>
</msbuild>
<msbuild
project=
"${src}/ProtocolBuffers.sln"
>
<property
name=
"Configuration"
value=
"Release"
/>
</msbuild>
<msbuild
project=
"${src}/ProtocolBuffers.sln"
>
<property
name=
"Configuration"
value=
"Silverlight2"
/>
</msbuild>
<msbuild
project=
"${src}/ProtocolBuffers/ProtocolBuffersCF.csproj"
>
<property
name=
"Configuration"
value=
"Release"
/>
</msbuild>
</target>
<target
name=
"dist"
<target
name=
"dist"
description=
"Copies
compiled
binaries into the output directory"
>
description=
"Copies
all
binaries into the output directory"
>
<delete
dir=
"${output-dir}"
/>
<delete
dir=
"${output-dir}"
/>
<mkdir
dir=
"${output-dir}"
/>
<mkdir
dir=
"${output-dir}"
/>
<copy
todir=
"${output-dir}"
<mkdir
dir=
"${output-dir}/Debug"
/>
<mkdir
dir=
"${output-dir}/Release"
/>
<mkdir
dir=
"${output-dir}/Silverlight2"
/>
<mkdir
dir=
"${output-dir}/CompactFramework35"
/>
<copy
todir=
"${output-dir}/Debug"
flatten=
"true"
>
<fileset
basedir=
"${src}"
>
<include
name=
"ProtocolBuffers/bin/Debug/Google.ProtocolBuffers.*"
/>
<include
name=
"ProtoGen/bin/Debug/ProtoGen.*"
/>
<include
name=
"ProtoMunge/bin/Debug/ProtoMunge.*"
/>
<include
name=
"ProtoDump/bin/Debug/ProtoDump.*"
/>
<include
name=
"ProtoBench/bin/Debug/ProtoBench.*"
/>
</fileset>
</copy>
<copy
todir=
"${output-dir}/Release"
flatten=
"true"
>
<fileset
basedir=
"${src}"
>
<include
name=
"ProtocolBuffers/bin/Release/Google.ProtocolBuffers.*"
/>
<include
name=
"ProtoGen/bin/Release/ProtoGen.*"
/>
<include
name=
"ProtoMunge/bin/Release/ProtoMunge.*"
/>
<include
name=
"ProtoDump/bin/Release/ProtoDump.*"
/>
<include
name=
"ProtoBench/bin/Release/ProtoBench.*"
/>
</fileset>
</copy>
<copy
todir=
"${output-dir}/Silverlight2"
flatten=
"true"
>
<fileset
basedir=
"${src}"
>
<include
name=
"ProtocolBuffers/bin/Silverlight2/Google.ProtocolBuffers.dll"
/>
</fileset>
</copy>
<copy
todir=
"${output-dir}/CompactFramework35"
flatten=
"true"
>
flatten=
"true"
>
<fileset
basedir=
"${src}"
>
<fileset
basedir=
"${src}"
>
<include
name=
"ProtocolBuffers/bin/${build-configuration}/Google.ProtocolBuffers.dll"
/>
<include
name=
"ProtocolBuffers/bin/ReleaseCF/Google.ProtocolBuffers.dll"
/>
<include
name=
"ProtoGen/bin/${build-configuration}/ProtoGen.exe"
/>
<include
name=
"ProtoMunge/bin/${build-configuration}/ProtoMunge.exe"
/>
<include
name=
"ProtoDump/bin/${build-configuration}/ProtoDump.exe"
/>
<include
name=
"ProtoBench/bin/${build-configuration}/ProtoBench.exe"
/>
</fileset>
</fileset>
</copy>
</copy>
</target>
</target>
...
...
src/ProtocolBuffers/ProtocolBuffersCF.csproj
View file @
55a212d3
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<OutputPath>bin\Debug
CF
\</OutputPath>
<DefineConstants>COMPACT_FRAMEWORK_35;DEBUG;TRACE;$(PlatformFamilyName)</DefineConstants>
<DefineConstants>COMPACT_FRAMEWORK_35;DEBUG;TRACE;$(PlatformFamilyName)</DefineConstants>
<NoStdLib>true</NoStdLib>
<NoStdLib>true</NoStdLib>
<NoConfig>true</NoConfig>
<NoConfig>true</NoConfig>
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<OutputPath>bin\Release
CF
\</OutputPath>
<DefineConstants>COMPACT_FRAMEWORK_35;TRACE;$(PlatformFamilyName)</DefineConstants>
<DefineConstants>COMPACT_FRAMEWORK_35;TRACE;$(PlatformFamilyName)</DefineConstants>
<NoStdLib>true</NoStdLib>
<NoStdLib>true</NoStdLib>
<NoConfig>true</NoConfig>
<NoConfig>true</NoConfig>
...
...
todo.txt
View file @
55a212d3
...
@@ -8,7 +8,7 @@ Current task list (not in order)
...
@@ -8,7 +8,7 @@ Current task list (not in order)
- Avoid using reflection for messages which don't need it (is this
- Avoid using reflection for messages which don't need it (is this
possible?)
possible?)
- Bring service generation into line with Java
- Bring service generation into line with Java
- Build protoc as a dll and use directly from protoge
- Build protoc as a dll and use directly from protoge
n
- Check copyright is everywhere
- Check copyright is everywhere
- Work out how to unit test Silverlight code
- Work out how to unit test Silverlight code
- Reformat code
- Reformat code
...
@@ -16,3 +16,5 @@ Current task list (not in order)
...
@@ -16,3 +16,5 @@ Current task list (not in order)
- Add regions to copyright
- Add regions to copyright
- Investigate command line parsing library
- Investigate command line parsing library
- Investigate calling protoc directly
- Investigate calling protoc directly
- Build and publish binaries
- Work out why the Compact Framework 3.5 build fails under VS2010
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