File: pgAdmin3.targets

package info (click to toggle)
pgadmin3 1.22.2-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 74,488 kB
  • sloc: cpp: 195,064; ansic: 20,444; sh: 5,119; pascal: 1,120; yacc: 927; makefile: 516; lex: 421; xml: 126; perl: 40
file content (81 lines) | stat: -rw-r--r-- 3,130 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
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>