-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCom.InteropDir.props
34 lines (29 loc) · 2.29 KB
/
Com.InteropDir.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
<?xml version="1.0" encoding="utf-8"?>
<!-- This property sheet resolves the 'InteropDir'property (supports override in zou.cfg folder). -->
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
InitialTargets="ComInteropDirTrace"
TreatAsLocalProperty="InteropDir">
<PropertyGroup>
<_PropertySheetDisplayName>Interop Directory</_PropertySheetDisplayName>
</PropertyGroup>
<ImportGroup Label="PropertySheets">
<Import Project="$(MSBuildProjectDirectory)\..\..\..\..\..\..\..\$(ZouCfg)**\$(MSBuildThisFileName)*$(MSBuildThisFileExtension)" />
<Import Project="$(MSBuildProjectDirectory)\..\..\..\..\..\..\$(ZouCfg)**\$(MSBuildThisFileName)*$(MSBuildThisFileExtension)" />
<Import Project="$(MSBuildProjectDirectory)\..\..\..\..\..\$(ZouCfg)**\$(MSBuildThisFileName)*$(MSBuildThisFileExtension)" />
<Import Project="$(MSBuildProjectDirectory)\..\..\..\..\$(ZouCfg)**\$(MSBuildThisFileName)*$(MSBuildThisFileExtension)" />
<Import Project="$(MSBuildProjectDirectory)\..\..\..\$(ZouCfg)**\$(MSBuildThisFileName)*$(MSBuildThisFileExtension)" />
<Import Project="$(MSBuildProjectDirectory)\..\..\$(ZouCfg)**\$(MSBuildThisFileName)*$(MSBuildThisFileExtension)" />
<Import Project="$(MSBuildProjectDirectory)\..\$(ZouCfg)**\$(MSBuildThisFileName)*$(MSBuildThisFileExtension)" />
<Import Project="$(MSBuildProjectDirectory)\$(ZouCfg)**\$(MSBuildThisFileName)*$(MSBuildThisFileExtension)" />
<Import Project="$(ZouPrivateDir)$(MSBuildThisFileName).Default$(MSBuildThisFileExtension)" />
</ImportGroup>
<PropertyGroup>
<InteropDir Condition="'$(InteropDir)' != ''">$([MSBuild]::EnsureTrailingSlash('$(InteropDir)'))</InteropDir>
<InteropDir Condition="'$(InteropDirSpecified)' != 'true'">$([System.IO.Path]::Combine($(ProjectDir),$(InteropDir)))</InteropDir>
<InteropDir Condition="'$(InteropDirSpecified)' == 'true'">$([System.IO.Path]::Combine($(MSBuildStartupDirectory),$(InteropDir)))</InteropDir>
</PropertyGroup>
<Target Name="ComInteropDirTrace" Condition="'$(ZouTrace)' == 'true' Or '$(MSBuildProjectFile)' == '$(MSBuildThisFile)'">
<Message Importance="normal" Text="InteropDirSpecified = $(InteropDirSpecified)" />
<Message Importance="normal" Text="InteropDir = $(InteropDir)" />
</Target>
</Project>