blob: 7bfc2a0461fced31aa942f025f0e4ea0e050307f (
plain)
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="f2c_rule">
<Targets>_f2c_rule</Targets>
</AvailableItemName>
</ItemGroup>
<UsingTask
TaskName="f2c_rule"
TaskFactory="XamlTaskFactory"
AssemblyName="Microsoft.Build.Tasks.v4.0">
<Task>$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml</Task>
</UsingTask>
<Target
Name="_f2c_rule"
BeforeTargets="$(f2c_ruleBeforeTargets)"
AfterTargets="$(f2c_ruleAfterTargets)"
Condition="'@(f2c_rule)' != ''"
DependsOnTargets="$(f2c_ruleDependsOn);Computef2c_ruleOutput"
Outputs="%(f2c_rule.Outputs)"
Inputs="%(f2c_rule.Identity);%(f2c_rule.AdditionalDependencies);$(MSBuildProjectFile)">
<ItemGroup
Condition="'@(SelectedFiles)' != ''">
<f2c_rule
Remove="@(f2c_rule)"
Condition="'%(Identity)' != '@(SelectedFiles)'" />
</ItemGroup>
<ItemGroup>
<f2c_rule_tlog
Include="%(f2c_rule.Outputs)"
Condition="'%(f2c_rule.Outputs)' != '' and '%(f2c_rule.ExcludedFromBuild)' != 'true'">
<Source>@(f2c_rule, '|')</Source>
</f2c_rule_tlog>
</ItemGroup>
<Message
Importance="High"
Text="%(f2c_rule.ExecutionDescription)" />
<WriteLinesToFile
Condition="'@(f2c_rule_tlog)' != '' and '%(f2c_rule_tlog.ExcludedFromBuild)' != 'true'"
File="$(IntDir)$(ProjectName).write.1.tlog"
Lines="^%(f2c_rule_tlog.Source);@(f2c_rule_tlog->'%(Fullpath)')" />
<f2c_rule
Condition="'@(f2c_rule)' != '' and '%(f2c_rule.ExcludedFromBuild)' != 'true'"
CommandLineTemplate="%(f2c_rule.CommandLineTemplate)"
AdditionalOptions="%(f2c_rule.AdditionalOptions)"
Inputs="%(f2c_rule.Identity)" />
</Target>
<PropertyGroup>
<ComputeLinkInputsTargets>
$(ComputeLinkInputsTargets);
Computef2c_ruleOutput;
</ComputeLinkInputsTargets>
<ComputeLibInputsTargets>
$(ComputeLibInputsTargets);
Computef2c_ruleOutput;
</ComputeLibInputsTargets>
</PropertyGroup>
<Target
Name="Computef2c_ruleOutput"
Condition="'@(f2c_rule)' != ''">
<ItemGroup>
<f2c_ruleDirsToMake
Condition="'@(f2c_rule)' != '' and '%(f2c_rule.ExcludedFromBuild)' != 'true'"
Include="%(f2c_rule.Outputs)" />
<Link
Include="%(f2c_ruleDirsToMake.Identity)"
Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
<Lib
Include="%(f2c_ruleDirsToMake.Identity)"
Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
<ImpLib
Include="%(f2c_ruleDirsToMake.Identity)"
Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
</ItemGroup>
<MakeDir
Directories="@(f2c_ruleDirsToMake->'%(RootDir)%(Directory)')" />
</Target>
</Project>
|