-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGoblin.Agent.props
96 lines (81 loc) · 3.77 KB
/
Goblin.Agent.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
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
<!--
Summary
Input:
GoblinBundleDir
GoblinName
GoblinBuildId
TargetName
# Agent.prolog.props
+ Default targets (Build, Clean, Rebuild, PackFilter)
+ PlatformToolset, Configuration, IsDebug, IsRelease
+ Platform, RuntimePlatform
+ CoreTargetFramework, FullTargetFramework
# hook.zou.build.props
# Com.WorkDir.props
# Tmp.IntDir.props
# Go.PkgDir.props
# Go.OutDir.props
# Tools.Go.props
# Agent.epilog.props
+ TargetDir, OutputPath, IntermediateOutputPath
# Forward.props
# [Microsoft.Cpp.targets] if ImportMicrosoftCppTargets
+ GoblinIntDir
+ GoblinOutDir
+ GoblinTargetPath
+ TargetName
+ TargetExt
+ TargetFileName
+ TargetPath
-->
<Project InitialTargets="CheckGoblinBundleDir;TraceGoblinAgent">
<PropertyGroup>
<_PropertySheetDisplayName>[zou] Goblin Agent</_PropertySheetDisplayName>
<ZouAgentType>Goblin</ZouAgentType>
</PropertyGroup>
<Import Project="Agent.prolog.props" />
<ImportGroup Label="PropertySheets">
<Import Project="Com.WorkDir.props" />
<Import Project="Tmp.IntDir.props" />
<Import Project="Cs.PkgDir.props" />
<Import Project="Cs.OutDir.props" />
</ImportGroup>
<PropertyGroup>
<ImportMicrosoftCppTargets>false</ImportMicrosoftCppTargets>
</PropertyGroup>
<Import Project="Agent.epilog.props" />
<PropertyGroup>
<TargetName Condition="'$(TargetName)' == ''">$(MSBuildProjectName)</TargetName>
<TargetExt >$(ZouExeExtension)</TargetExt>
<TargetFileName>$(TargetName)$(TargetExt)</TargetFileName>
<TargetPath >$(TargetDir)$(TargetFileName)</TargetPath>
</PropertyGroup>
<PropertyGroup>
<GoblinBundleDir Condition="'$(GoblinBundleDir)' == ''">$([System.IO.Path]::GetFullPath('$(BundleDir)..\cresus-cross-dev\cresus-cross\'))</GoblinBundleDir>
<GoblinSourceDir Condition="'$(GoblinSourceDir)' == ''">$(GoblinBundleDir)lib\$(GoblinName)\</GoblinSourceDir>
<GoblinBuildId Condition="'$(GoblinBuildId)' == ''">$(MSBuildProjectName)</GoblinBuildId>
<GoblinIntDir Condition="'$(GoblinIntDir)' == ''">$(ModuleDir)obj\$(Configuration)\$(ProjectName)\</GoblinIntDir>
<GoblinOutDir Condition="'$(GoblinOutDir)' == ''">$(GoblinIntDir)build\product\win-unpacked\</GoblinOutDir>
<GoblinTargetPath Condition="'$(GoblinTargetPath)' == ''">$(GoblinOutDir)$(TargetName)$(ZouExeExtension)</GoblinTargetPath>
<ZogPath Condition="'$(ZogPath)' == ''">$(GoblinBundleDir)node_modules\.bin\zog</ZogPath>
</PropertyGroup>
<Target Name="CheckGoblinBundleDir">
<Error Condition="!Exists($(GoblinBundleDir))" Text="Goblin bundle not found : $(GoblinBundleDir)" />
</Target>
<Target Name="TraceGoblinAgent" Condition="'$(ZouDebug)' == 'true' Or '$(MSBuildProjectFile)' == '$(MSBuildThisFile)'">
<Message Importance="high" Text="zou/Goblin.Agent.props [$(MSBuildProjectFile)]" />
<Message Importance="high" Text="----------------------" />
<Message Importance="high" Text="TargetName = $(TargetName)" />
<Message Importance="high" Text="TargetExt = $(TargetExt)" />
<Message Importance="high" Text="TargetFileName = $(TargetFileName)" />
<Message Importance="high" Text="TargetPath = $(TargetPath)" />
<Message Importance="high" Text="GoblinBuildId = $(GoblinBuildId)" />
<Message Importance="high" Text="GoblinSourceDir = $(GoblinSourceDir)" />
<Message Importance="high" Text="GoblinIntDir = $(GoblinIntDir)" />
<Message Importance="high" Text="GoblinOutDir = $(GoblinOutDir)" />
<Message Importance="high" Text="GoblinTargetPath = $(GoblinTargetPath)" />
<Message Importance="high" Text="ZogPath = $(ZogPath)" />
<Message Importance="high" Text="#GoblinBuildInput = @(GoblinBuildInput->Count())" />
<Message Importance="high" Text=" " />
</Target>
</Project>