Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add a couple of files missed in the last commit, and update the VC++

version in the INSTALL file.
  • Loading branch information...
commit dde05ef4fc6f6122410f1b9d07a050363b50c7d7 1 parent 95b8bac
@dpage dpage authored
Showing with 229 additions and 2 deletions.
  1. +2 −2 INSTALL
  2. +19 −0 pgAdmin3.props
  3. +81 −0 pgAdmin3.targets
  4. +127 −0 pgAdmin3.xml
View
4 INSTALL
@@ -138,8 +138,8 @@ Windows
You will need:
- Windows 2000 or above.
-- Microsoft Visual C++ 2008.
-- The Windows 2008 Platform SDK.
+- Microsoft Visual C++ 2010.
+- The Windows 2010 Platform SDK.
- Windows Installer XML v3.
- wxMSW 2.8.11 or above from http://www.wxwidgets.org/
- libxml2 2.6.18 or above from http://www.xmlsoft.org/
View
19 pgAdmin3.props
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup
+ Condition="'$(png2cBeforeTargets)' == '' and '$(png2cAfterTargets)' == '' and '$(ConfigurationType)' != 'Makefile'">
+ <png2cBeforeTargets>Midl</png2cBeforeTargets>
+ <png2cAfterTargets>CustomBuild</png2cAfterTargets>
+ </PropertyGroup>
+ <PropertyGroup>
+ <png2cDependsOn
+ Condition="'$(ConfigurationType)' != 'Makefile'">_SelectedFiles;$(png2cDependsOn)</png2cDependsOn>
+ </PropertyGroup>
+ <ItemDefinitionGroup>
+ <png2c>
+ <CommandLineTemplate> "$(SolutionDir)xtra\png2c\$(Configuration)\png2c.exe" [AllOptions] [AdditionalOptions] "%(FullPath)" "%(FullPath)c" </CommandLineTemplate>
+ <Outputs>%(FullPath)c</Outputs>
+ <ExecutionDescription>Compiling PNG (%(FullPath))...</ExecutionDescription>
+ </png2c>
+ </ItemDefinitionGroup>
+</Project>
View
81 pgAdmin3.targets
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <PropertyPageSchema
+ Include="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml" />
+ <AvailableItemName
+ Include="png2c">
+ <Targets>_png2c</Targets>
+ </AvailableItemName>
+ </ItemGroup>
+ <UsingTask
+ TaskName="png2c"
+ TaskFactory="XamlTaskFactory"
+ AssemblyName="Microsoft.Build.Tasks.v4.0">
+ <Task>$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml</Task>
+ </UsingTask>
+ <Target
+ Name="_png2c"
+ BeforeTargets="$(png2cBeforeTargets)"
+ AfterTargets="$(png2cAfterTargets)"
+ Condition="'@(png2c)' != ''"
+ DependsOnTargets="$(png2cDependsOn);Computepng2cOutput"
+ Outputs="%(png2c.Outputs)"
+ Inputs="%(png2c.Identity);%(png2c.AdditionalDependencies);$(MSBuildProjectFile)">
+ <ItemGroup
+ Condition="'@(SelectedFiles)' != ''">
+ <png2c
+ Remove="@(png2c)"
+ Condition="'%(Identity)' != '@(SelectedFiles)'" />
+ </ItemGroup>
+ <ItemGroup>
+ <png2c_tlog
+ Include="%(png2c.Outputs)"
+ Condition="'%(png2c.Outputs)' != '' and '%(png2c.ExcludedFromBuild)' != 'true'">
+ <Source>@(png2c, '|')</Source>
+ </png2c_tlog>
+ </ItemGroup>
+ <Message
+ Importance="High"
+ Text="%(png2c.ExecutionDescription)" />
+ <WriteLinesToFile
+ Condition="'@(png2c_tlog)' != '' and '%(png2c_tlog.ExcludedFromBuild)' != 'true'"
+ File="$(IntDir)$(ProjectName).write.1.tlog"
+ Lines="^%(png2c_tlog.Source);@(png2c_tlog-&gt;'%(Fullpath)')" />
+ <png2c
+ Condition="'@(png2c)' != '' and '%(png2c.ExcludedFromBuild)' != 'true'"
+ CommandLineTemplate="%(png2c.CommandLineTemplate)"
+ AdditionalOptions="%(png2c.AdditionalOptions)"
+ Inputs="%(png2c.Identity)" />
+ </Target>
+ <PropertyGroup>
+ <ComputeLinkInputsTargets>
+ $(ComputeLinkInputsTargets);
+ Computepng2cOutput;
+ </ComputeLinkInputsTargets>
+ <ComputeLibInputsTargets>
+ $(ComputeLibInputsTargets);
+ Computepng2cOutput;
+ </ComputeLibInputsTargets>
+ </PropertyGroup>
+ <Target
+ Name="Computepng2cOutput"
+ Condition="'@(png2c)' != ''">
+ <ItemGroup>
+ <png2cDirsToMake
+ Condition="'@(png2c)' != '' and '%(png2c.ExcludedFromBuild)' != 'true'"
+ Include="%(png2c.Outputs)" />
+ <Link
+ Include="%(png2cDirsToMake.Identity)"
+ Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
+ <Lib
+ Include="%(png2cDirsToMake.Identity)"
+ Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
+ <ImpLib
+ Include="%(png2cDirsToMake.Identity)"
+ Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
+ </ItemGroup>
+ <MakeDir
+ Directories="@(png2cDirsToMake-&gt;'%(RootDir)%(Directory)')" />
+ </Target>
+</Project>
View
127 pgAdmin3.xml
@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:transformCallback="Microsoft.Cpp.Dev10.ConvertPropertyCallback">
+ <Rule
+ Name="png2c"
+ PageTemplate="tool"
+ DisplayName="PNG Compiler"
+ Order="200">
+ <Rule.DataSource>
+ <DataSource
+ Persistence="ProjectFile"
+ ItemType="png2c" />
+ </Rule.DataSource>
+ <Rule.Categories>
+ <Category
+ Name="General">
+ <Category.DisplayName>
+ <sys:String>General</sys:String>
+ </Category.DisplayName>
+ </Category>
+ <Category
+ Name="Command Line"
+ Subtype="CommandLine">
+ <Category.DisplayName>
+ <sys:String>Command Line</sys:String>
+ </Category.DisplayName>
+ </Category>
+ </Rule.Categories>
+ <StringListProperty
+ Name="Inputs"
+ Category="Command Line"
+ IsRequired="true"
+ Switch=" ">
+ <StringListProperty.DataSource>
+ <DataSource
+ Persistence="ProjectFile"
+ ItemType="png2c"
+ SourceType="Item" />
+ </StringListProperty.DataSource>
+ </StringListProperty>
+ <StringProperty
+ Name="CommandLineTemplate"
+ DisplayName="Command Line"
+ Visible="False"
+ IncludeInCommandLine="False" />
+ <DynamicEnumProperty
+ Name="png2cBeforeTargets"
+ Category="General"
+ EnumProvider="Targets"
+ IncludeInCommandLine="False">
+ <DynamicEnumProperty.DisplayName>
+ <sys:String>Execute Before</sys:String>
+ </DynamicEnumProperty.DisplayName>
+ <DynamicEnumProperty.Description>
+ <sys:String>Specifies the targets for the build customization to run before.</sys:String>
+ </DynamicEnumProperty.Description>
+ <DynamicEnumProperty.ProviderSettings>
+ <NameValuePair
+ Name="Exclude"
+ Value="^png2cBeforeTargets|^Compute" />
+ </DynamicEnumProperty.ProviderSettings>
+ <DynamicEnumProperty.DataSource>
+ <DataSource
+ Persistence="ProjectFile"
+ HasConfigurationCondition="true" />
+ </DynamicEnumProperty.DataSource>
+ </DynamicEnumProperty>
+ <DynamicEnumProperty
+ Name="png2cAfterTargets"
+ Category="General"
+ EnumProvider="Targets"
+ IncludeInCommandLine="False">
+ <DynamicEnumProperty.DisplayName>
+ <sys:String>Execute After</sys:String>
+ </DynamicEnumProperty.DisplayName>
+ <DynamicEnumProperty.Description>
+ <sys:String>Specifies the targets for the build customization to run after.</sys:String>
+ </DynamicEnumProperty.Description>
+ <DynamicEnumProperty.ProviderSettings>
+ <NameValuePair
+ Name="Exclude"
+ Value="^png2cAfterTargets|^Compute" />
+ </DynamicEnumProperty.ProviderSettings>
+ <DynamicEnumProperty.DataSource>
+ <DataSource
+ Persistence="ProjectFile"
+ ItemType=""
+ HasConfigurationCondition="true" />
+ </DynamicEnumProperty.DataSource>
+ </DynamicEnumProperty>
+ <StringListProperty
+ Name="Outputs"
+ DisplayName="Outputs"
+ Visible="False"
+ IncludeInCommandLine="False" />
+ <StringProperty
+ Name="ExecutionDescription"
+ DisplayName="Execution Description"
+ Visible="False"
+ IncludeInCommandLine="False" />
+ <StringListProperty
+ Name="AdditionalDependencies"
+ DisplayName="Additional Dependencies"
+ IncludeInCommandLine="False"
+ Visible="false" />
+ <StringProperty
+ Subtype="AdditionalOptions"
+ Name="AdditionalOptions"
+ Category="Command Line">
+ <StringProperty.DisplayName>
+ <sys:String>Additional Options</sys:String>
+ </StringProperty.DisplayName>
+ <StringProperty.Description>
+ <sys:String>Additional Options</sys:String>
+ </StringProperty.Description>
+ </StringProperty>
+ </Rule>
+ <ItemType
+ Name="png2c"
+ DisplayName="PNG Compiler" />
+ <FileExtension
+ Name="*.png"
+ ContentType="png2c" />
+ <ContentType
+ Name="png2c"
+ DisplayName="PNG Compiler"
+ ItemType="png2c" />
+</ProjectSchemaDefinitions>
Please sign in to comment.
Something went wrong with that request. Please try again.