-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAgent.epilog.props
61 lines (51 loc) · 2.8 KB
/
Agent.epilog.props
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
<!--
The agent prolog and epilog are used to create a minimal zou agent.
Summary:
+ PublishDir
+ TargetDir - local
+ OutputPath - local
+ IntermediateOutputPath - local
# Forward.props
# [Microsoft.Cpp.targets] if ImportMicrosoftCppTargets
# hook.zou.build.props
-->
<Project InitialTargets="TraceAgentTargets"
TreatAsLocalProperty="TargetDir;OutputPath;IntermediateOutputPath">
<!-- Ensure following properties are initialized for all zou agents -->
<PropertyGroup>
<PublishDir Condition="'$(PublishDir)' == ''">$(OutDir)</PublishDir>
<TargetDir Condition="'$(TargetDir)' == ''">$(OutDir)</TargetDir>
<OutputPath Condition="'$(OutputPath)' == ''">$(OutDir)</OutputPath>
<IntermediateOutputPath Condition="'$(IntermediateOutputPath)' == ''">$(IntDir)</IntermediateOutputPath>
<ProjectRelativeTargetDir>$([MSBuild]::MakeRelative('$(ProjectDir)', '$(TargetDir)'))</ProjectRelativeTargetDir>
</PropertyGroup>
<!-- Forward properties specified on the command line -->
<Import Project="$(ZouPrivateDir)Forward.props" />
<!-- C++ utility targets: Platform -> *AnyCPU -->
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" Condition="'$(ImportMicrosoftCppTargets)' == 'true' And Exists('$(VCTargetsPath)\Microsoft.Cpp.targets')" />
<PropertyGroup>
<IncludePath />
<ReferencePath />
<LibraryPath />
<LibraryWPath />
<SourcePath />
<ExcludePath />
</PropertyGroup>
<Import Project="Redist.props" />
<Target Name="TraceAgentTargets" Condition="'$(ZouTrace)' == 'true' Or '$(MSBuildProjectFile)' == '$(MSBuildThisFile)'">
<Message Importance="high" Text="zou/Agent.epilog.props [$(MSBuildProjectFile)]" />
<Message Importance="high" Text="----------------------" />
<Message Importance="high" Text="ZouAgentType = $(ZouAgentType)" />
<Message Importance="high" Text="Configuration = $(Configuration)" />
<Message Importance="high" Text="Platform = $(Platform)" />
<Message Importance="high" Text="PlatformToolset = $(PlatformToolset)" />
<Message Importance="high" Text="OutDir = $(OutDir)" />
<Message Importance="high" Text="PublishDir = $(PublishDir)" />
<Message Importance="high" Text="TargetDir = $(TargetDir)" />
<Message Importance="high" Text="OutputPath = $(OutputPath)" />
<Message Importance="high" Text="IntDir = $(IntDir)" />
<Message Importance="high" Text="IntermediateOutputPath = $(IntermediateOutputPath)" />
<Message Importance="high" Text="ProjectRelativeTargetDir = $(ProjectRelativeTargetDir)" />
<Message Importance="high" Text=" " />
</Target>
</Project>