blob: 93476670e780b83d31893d41d85c77a4cc66d00b (
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
|
<?xml version="1.0" encoding="utf-8"?>
<!--
***************************************************************************************************
Copyright (C) 2024 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="VsInstallRoot">
<Value>$(VsInstallRoot)</Value>
</PropEval>
<PropEval Include="VCTargetsPath">
<Value>$(VCTargetsPath)</Value>
</PropEval>
<PropEval Include="SolutionDir">
<Value>$(SolutionDir)</Value>
</PropEval>
<PropEval Include="Configuration">
<Value>$(Configuration)</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>
|