aboutsummaryrefslogtreecommitdiffstats
path: root/EvalProps.targets
blob: 964d630afe143885fcc5a64231b2b58c3dd263a6 (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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?xml version="1.0" encoding="utf-8"?>
<!--
 Copyright (C) 2025 The Qt Company Ltd.
 SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <!--
  /////////////////////////////////////////////////////////////////////////////////////////////////
  // Export property evaluation
  // -->
  <PropertyGroup>
    <PropEvalFileName Condition="'$(PropEvalFileName)' == ''">evalprops.csv</PropEvalFileName>
    <PropEvalPath Condition="'$(PropEvalPath)' == ''">$(IntermediateOutputPath)$(PropEvalFileName)</PropEvalPath>
  </PropertyGroup>
  <Target Name="ExportPropertyEval" BeforeTargets="PrepareForBuild" Inputs="$(ProjectPath)" Outputs="$(PropEvalPath)">
    <ItemGroup>
      <PropEval Include="MSBuildToolsPath">
        <Value>$(MSBuildToolsPath)</Value>
      </PropEval>
      <PropEval Include="MSBuildToolsPath32">
        <Value>$(MSBuildToolsPath32)</Value>
      </PropEval>
      <PropEval Include="MSBuildToolsPath64">
        <Value>$(MSBuildToolsPath64)</Value>
      </PropEval>
      <PropEval Include="MSBuildSDKsPath">
        <Value>$(MSBuildSDKsPath)</Value>
      </PropEval>
      <PropEval Include="FrameworkSDKRoot">
        <Value>$(FrameworkSDKRoot)</Value>
      </PropEval>
      <PropEval Include="MSBuildRuntimeVersion">
        <Value>$(MSBuildRuntimeVersion)</Value>
      </PropEval>
      <PropEval Include="MSBuildFrameworkToolsPath">
        <Value>$(MSBuildFrameworkToolsPath)</Value>
      </PropEval>
      <PropEval Include="MSBuildFrameworkToolsPath32">
        <Value>$(MSBuildFrameworkToolsPath32)</Value>
      </PropEval>
      <PropEval Include="MSBuildFrameworkToolsPath64">
        <Value>$(MSBuildFrameworkToolsPath64)</Value>
      </PropEval>
      <PropEval Include="MSBuildFrameworkToolsPathArm64">
        <Value>$(MSBuildFrameworkToolsPathArm64)</Value>
      </PropEval>
      <PropEval Include="MSBuildFrameworkToolsRoot">
        <Value>$(MSBuildFrameworkToolsRoot)</Value>
      </PropEval>
      <PropEval Include="SDK35ToolsPath">
        <Value>$(SDK35ToolsPath)</Value>
      </PropEval>
      <PropEval Include="SDK40ToolsPath">
        <Value>$(SDK40ToolsPath)</Value>
      </PropEval>
      <PropEval Include="WindowsSDK80Path">
        <Value>$(WindowsSDK80Path)</Value>
      </PropEval>
      <PropEval Include="VsInstallRoot">
        <Value>$(VsInstallRoot)</Value>
      </PropEval>
      <PropEval Include="MSBuildToolsRoot">
        <Value>$(MSBuildToolsRoot)</Value>
      </PropEval>
      <PropEval Include="MSBuildExtensionsPath">
        <Value>$(MSBuildExtensionsPath)</Value>
      </PropEval>
      <PropEval Include="MSBuildExtensionsPath32">
        <Value>$(MSBuildExtensionsPath32)</Value>
      </PropEval>
      <PropEval Include="MSBuildExtensionsPath64">
        <Value>$(MSBuildExtensionsPath64)</Value>
      </PropEval>
      <PropEval Include="RoslynTargetsPath">
        <Value>$(RoslynTargetsPath)</Value>
      </PropEval>
      <PropEval Include="VCTargetsPath">
        <Value>$(VCTargetsPath)</Value>
      </PropEval>
      <PropEval Include="VCTargetsPath14">
        <Value>$(VCTargetsPath14)</Value>
      </PropEval>
      <PropEval Include="VCTargetsPath12">
        <Value>$(VCTargetsPath12)</Value>
      </PropEval>
      <PropEval Include="VCTargetsPath11">
        <Value>$(VCTargetsPath11)</Value>
      </PropEval>
      <PropEval Include="VCTargetsPath10">
        <Value>$(VCTargetsPath10)</Value>
      </PropEval>
      <PropEval Include="AndroidTargetsPath">
        <Value>$(AndroidTargetsPath)</Value>
      </PropEval>
      <PropEval Include="iOSTargetsPath">
        <Value>$(iOSTargetsPath)</Value>
      </PropEval>
      <PropEval Include="VSToolsPath">
        <Value>$(VSToolsPath)</Value>
      </PropEval>
      <PropEval Include="SolutionDir">
        <Value>$(SolutionDir)</Value>
      </PropEval>
      <PropEval Include="Configuration">
        <Value>$(Configuration)</Value>
      </PropEval>
      <PropEval Include="Platform">
        <Value>$(Platform)</Value>
      </PropEval>
    </ItemGroup>
    <WriteLinesToFile File="$(PropEvalPath)" Lines="@(PropEval->'%(Identity);%(Value)','%0D%0A')" Overwrite="true" />
    <ItemGroup>
      <PropEval Remove="@(PropEval)" />
      <Content Include="$(PropEvalPath)">
        <CopyToOutputDirectory>Always</CopyToOutputDirectory>
        <TargetPath>$(PropEvalFileName)</TargetPath>
      </Content>
    </ItemGroup>
  </Target>
</Project>