xref: /freebsd/sys/contrib/libsodium/packaging/nuget/package.gsl (revision 3611ec604864a7d4dcc9a3ea898c80eb35eef8a0)
1*0ac341f1SConrad Meyer.#  Generate NuGet nuspec file (for subsequent packing).
2*0ac341f1SConrad Meyer.#
3*0ac341f1SConrad Meyer.#  This is a code generator built using the iMatix GSL code generation
4*0ac341f1SConrad Meyer.#  language. See https://github.com/imatix/gsl for details. This script
5*0ac341f1SConrad Meyer.#  is licensed under MIT/X11.
6*0ac341f1SConrad Meyer.#
7*0ac341f1SConrad Meyer.echo "Generating package.nuspec from template."
8*0ac341f1SConrad Meyer.output "package.nuspec"
9*0ac341f1SConrad Meyer<?xml version="1.0" encoding="utf-8"?>
10*0ac341f1SConrad Meyer<!--
11*0ac341f1SConrad Meyer#################################################################
12*0ac341f1SConrad Meyer#   GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY    #
13*0ac341f1SConrad Meyer#################################################################
14*0ac341f1SConrad Meyer-->
15*0ac341f1SConrad Meyer<package xmlns="http://schemas.microsoft.com/packaging/2013/01/nuspec.xsd">
16*0ac341f1SConrad Meyer    <metadata minClientVersion="2.5">
17*0ac341f1SConrad Meyer        <id>$(package.id)</id>
18*0ac341f1SConrad Meyer        <version>$(package.version)</version>
19*0ac341f1SConrad Meyer        <title>$(package.id)</title>
20*0ac341f1SConrad Meyer        <authors>libsodium contributors</authors>
21*0ac341f1SConrad Meyer        <owners>Eric Voskuil</owners>
22*0ac341f1SConrad Meyer        <licenseUrl>https://raw.github.com/jedisct1/libsodium/master/LICENSE</licenseUrl>
23*0ac341f1SConrad Meyer        <projectUrl>https://github.com/jedisct1/libsodium</projectUrl>
24*0ac341f1SConrad Meyer        <iconUrl>http://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Salt_shaker_on_white_background.jpg/220px-Salt_shaker_on_white_background.jpg</iconUrl>
25*0ac341f1SConrad Meyer        <requireLicenseAcceptance>true</requireLicenseAcceptance>
26*0ac341f1SConrad Meyer        <developmentDependency>false</developmentDependency>
27*0ac341f1SConrad Meyer        <description>Sodium is a portable, cross-compilable, installable, packageable fork of NaCl, with a compatible API.</description>
28*0ac341f1SConrad Meyer        <summary>Portable fork of NaCl, packaged for Visual Studio 2013 (v120) and CTP_Nov2013 compilers.</summary>
29*0ac341f1SConrad Meyer        <releaseNotes>https://raw.github.com/jedisct1/libsodium/master/ChangeLog</releaseNotes>
30*0ac341f1SConrad Meyer        <copyright>(c) 2013-2017, Frank Denis (attribution required)</copyright>
31*0ac341f1SConrad Meyer        <tags>native, NaCl, salt, sodium, libsodium, C++</tags>
32*0ac341f1SConrad Meyer        <dependencies>
33*0ac341f1SConrad Meyer.for dependency
34*0ac341f1SConrad Meyer            <dependency id="$(id)" version="$(version)" />
35*0ac341f1SConrad Meyer.endfor
36*0ac341f1SConrad Meyer        </dependencies>
37*0ac341f1SConrad Meyer        <!-- Salt shaker icon by Dubravko Soric :
38*0ac341f1SConrad Meyer        http://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Salt_shaker_on_white_background.jpg/220px-Salt_shaker_on_white_background.jpg -->
39*0ac341f1SConrad Meyer    </metadata>
40*0ac341f1SConrad Meyer    <files>
41*0ac341f1SConrad Meyer        <!-- include -->
42*0ac341f1SConrad Meyer
43*0ac341f1SConrad Meyer        <file src="..\\..\\src\\libsodium\\include\\sodium.h" target="build\\native\\include" />
44*0ac341f1SConrad Meyer        <file src="..\\..\\src\\libsodium\\include\\sodium\\*.*" target="build\\native\\include\\sodium" />
45*0ac341f1SConrad Meyer
46*0ac341f1SConrad Meyer        <!-- targets -->
47*0ac341f1SConrad Meyer
48*0ac341f1SConrad Meyer        <file src="package.targets" target="build\\native\\$(package.id).targets" />
49*0ac341f1SConrad Meyer        <file src="package.xml" target="build\\native\\package.xml" />
50*0ac341f1SConrad Meyer
51*0ac341f1SConrad Meyer        <!-- libraries -->
52*0ac341f1SConrad Meyer
53*0ac341f1SConrad Meyer        <!-- x86 Dynamic libraries (.dll) -->
54*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\Win32\\Release\\$(package.platformtoolset)\\dynamic\\$(package.target).dll" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).dll" />
55*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\Win32\\Debug\\$(package.platformtoolset)\\dynamic\\$(package.target).dll" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).dll" />
56*0ac341f1SConrad Meyer
57*0ac341f1SConrad Meyer        <!-- x86 Debugging symbols (.pdb) -->
58*0ac341f1SConrad Meyer        <!--<file src="..\\..\\bin\\Win32\\Release\\$(package.platformtoolset)\\dynamic\\$(package.target).pdb" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).pdb" />-->
59*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\Win32\\Debug\\$(package.platformtoolset)\\dynamic\\$(package.target).pdb" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).pdb" />
60*0ac341f1SConrad Meyer
61*0ac341f1SConrad Meyer        <!-- x86 Import libraries (.imp.lib) -->
62*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\Win32\\Release\\$(package.platformtoolset)\\dynamic\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).imp.lib" />
63*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\Win32\\Debug\\$(package.platformtoolset)\\dynamic\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).imp.lib" />
64*0ac341f1SConrad Meyer
65*0ac341f1SConrad Meyer        <!-- x86 Export libraries (.exp) -->
66*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\Win32\\Release\\$(package.platformtoolset)\\dynamic\\$(package.target).exp" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).exp" />
67*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\Win32\\Debug\\$(package.platformtoolset)\\dynamic\\$(package.target).exp" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).exp" />
68*0ac341f1SConrad Meyer
69*0ac341f1SConrad Meyer        <!-- x86 Static libraries (.lib) -->
70*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\Win32\\Release\\$(package.platformtoolset)\\static\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-s-$(package.pathversion).lib" />
71*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\Win32\\Debug\\$(package.platformtoolset)\\static\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-sgd-$(package.pathversion).lib" />
72*0ac341f1SConrad Meyer
73*0ac341f1SConrad Meyer        <!-- x86 Static link time code generation libraries (.ltcg.lib) -->
74*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\Win32\\Release\\$(package.platformtoolset)\\ltcg\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-s-$(package.pathversion).ltcg.lib" />
75*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\Win32\\Debug\\$(package.platformtoolset)\\ltcg\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-sgd-$(package.pathversion).ltcg.lib" />
76*0ac341f1SConrad Meyer
77*0ac341f1SConrad Meyer        <!-- x64 Dynamic libraries (.dll) -->
78*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\x64\\Release\\$(package.platformtoolset)\\dynamic\\$(package.target).dll" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).dll" />
79*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\x64\\Debug\\$(package.platformtoolset)\\dynamic\\$(package.target).dll" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).dll" />
80*0ac341f1SConrad Meyer
81*0ac341f1SConrad Meyer        <!-- x64 Debugging symbols (.pdb) -->
82*0ac341f1SConrad Meyer        <!--<file src="..\\..\\bin\\x64\\Release\\$(package.platformtoolset)\\dynamic\\$(package.target).pdb" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).pdb" />-->
83*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\x64\\Debug\\$(package.platformtoolset)\\dynamic\\$(package.target).pdb" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).pdb" />
84*0ac341f1SConrad Meyer
85*0ac341f1SConrad Meyer        <!-- x64 Import libraries (.imp.lib) -->
86*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\x64\\Release\\$(package.platformtoolset)\\dynamic\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).imp.lib" />
87*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\x64\\Debug\\$(package.platformtoolset)\\dynamic\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).imp.lib" />
88*0ac341f1SConrad Meyer
89*0ac341f1SConrad Meyer        <!-- x64 Export libraries (.exp) -->
90*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\x64\\Release\\$(package.platformtoolset)\\dynamic\\$(package.target).exp" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).exp" />
91*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\x64\\Debug\\$(package.platformtoolset)\\dynamic\\$(package.target).exp" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).exp" />
92*0ac341f1SConrad Meyer
93*0ac341f1SConrad Meyer        <!-- x64 Static libraries (.lib) -->
94*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\x64\\Release\\$(package.platformtoolset)\\static\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-s-$(package.pathversion).lib" />
95*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\x64\\Debug\\$(package.platformtoolset)\\static\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-sgd-$(package.pathversion).lib" />
96*0ac341f1SConrad Meyer
97*0ac341f1SConrad Meyer        <!-- x64 Static link time code generation libraries (.ltcg.lib) -->
98*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\x64\\Release\\$(package.platformtoolset)\\ltcg\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-s-$(package.pathversion).ltcg.lib" />
99*0ac341f1SConrad Meyer        <file src="..\\..\\bin\\x64\\Debug\\$(package.platformtoolset)\\ltcg\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-sgd-$(package.pathversion).ltcg.lib" />
100*0ac341f1SConrad Meyer    </files>
101*0ac341f1SConrad Meyer<!--
102*0ac341f1SConrad Meyer#################################################################
103*0ac341f1SConrad Meyer#   GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY    #
104*0ac341f1SConrad Meyer#################################################################
105*0ac341f1SConrad Meyer-->
106*0ac341f1SConrad Meyer</package>
107*0ac341f1SConrad Meyer.echo "Generating package.targets from template."
108*0ac341f1SConrad Meyer.output "package.targets"
109*0ac341f1SConrad Meyer<?xml version="1.0" encoding="utf-8"?>
110*0ac341f1SConrad Meyer<!--
111*0ac341f1SConrad Meyer#################################################################
112*0ac341f1SConrad Meyer#   GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY    #
113*0ac341f1SConrad Meyer#################################################################
114*0ac341f1SConrad Meyer-->
115*0ac341f1SConrad Meyer<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
116*0ac341f1SConrad Meyer
117*0ac341f1SConrad Meyer  <!-- user interface -->
118*0ac341f1SConrad Meyer  <ItemGroup>
119*0ac341f1SConrad Meyer    <PropertyPageSchema Include="$\(MSBuildThisFileDirectory)package.xml" />
120*0ac341f1SConrad Meyer  </ItemGroup>
121*0ac341f1SConrad Meyer
122*0ac341f1SConrad Meyer  <!-- general -->
123*0ac341f1SConrad Meyer  <ItemDefinitionGroup>
124*0ac341f1SConrad Meyer    <ClCompile>
125*0ac341f1SConrad Meyer      <AdditionalIncludeDirectories>$\(MSBuildThisFileDirectory)include\\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
126*0ac341f1SConrad Meyer    </ClCompile>
127*0ac341f1SConrad Meyer    <Link>
128*0ac341f1SConrad Meyer      <AdditionalDependencies>advapi32.lib;crypt32.lib;%(AdditionalDependencies)</AdditionalDependencies>
129*0ac341f1SConrad Meyer      <AdditionalLibraryDirectories>$\(MSBuildThisFileDirectory)bin\\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
130*0ac341f1SConrad Meyer    </Link>
131*0ac341f1SConrad Meyer  </ItemDefinitionGroup>
132*0ac341f1SConrad Meyer  <ItemDefinitionGroup Condition="'$\(Linkage-$(package.target))' == 'static' Or '$\(Linkage-$(package.target))' == 'ltcg'">
133*0ac341f1SConrad Meyer    <ClCompile>
134*0ac341f1SConrad Meyer      <PreprocessorDefinitions>SODIUM_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
135*0ac341f1SConrad Meyer    </ClCompile>
136*0ac341f1SConrad Meyer  </ItemDefinitionGroup>
137*0ac341f1SConrad Meyer
138*0ac341f1SConrad Meyer  <!-- static libraries -->
139*0ac341f1SConrad Meyer  <ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'static' And $\(Configuration.IndexOf('Release')) != -1">
140*0ac341f1SConrad Meyer    <Link>
141*0ac341f1SConrad Meyer      <AdditionalDependencies>$(package.target)-x86-$(package.platformtoolset)-mt-s-$(package.pathversion).lib;%(AdditionalDependencies)</AdditionalDependencies>
142*0ac341f1SConrad Meyer    </Link>
143*0ac341f1SConrad Meyer  </ItemDefinitionGroup>
144*0ac341f1SConrad Meyer  <ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'static' And $\(Configuration.IndexOf('Debug')) != -1">
145*0ac341f1SConrad Meyer    <Link>
146*0ac341f1SConrad Meyer      <AdditionalDependencies>$(package.target)-x86-$(package.platformtoolset)-mt-sgd-$(package.pathversion).lib;%(AdditionalDependencies)</AdditionalDependencies>
147*0ac341f1SConrad Meyer    </Link>
148*0ac341f1SConrad Meyer  </ItemDefinitionGroup>
149*0ac341f1SConrad Meyer  <ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'static' And $\(Configuration.IndexOf('Release')) != -1">
150*0ac341f1SConrad Meyer    <Link>
151*0ac341f1SConrad Meyer      <AdditionalDependencies>$(package.target)-x64-$(package.platformtoolset)-mt-s-$(package.pathversion).lib;%(AdditionalDependencies)</AdditionalDependencies>
152*0ac341f1SConrad Meyer    </Link>
153*0ac341f1SConrad Meyer  </ItemDefinitionGroup>
154*0ac341f1SConrad Meyer  <ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'static' And $\(Configuration.IndexOf('Debug')) != -1">
155*0ac341f1SConrad Meyer    <Link>
156*0ac341f1SConrad Meyer      <AdditionalDependencies>$(package.target)-x64-$(package.platformtoolset)-mt-sgd-$(package.pathversion).lib;%(AdditionalDependencies)</AdditionalDependencies>
157*0ac341f1SConrad Meyer    </Link>
158*0ac341f1SConrad Meyer  </ItemDefinitionGroup>
159*0ac341f1SConrad Meyer
160*0ac341f1SConrad Meyer  <!-- static ltcg libraries -->
161*0ac341f1SConrad Meyer  <ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'ltcg' And $\(Configuration.IndexOf('Release')) != -1">
162*0ac341f1SConrad Meyer    <Link>
163*0ac341f1SConrad Meyer      <AdditionalDependencies>$(package.target)-x86-$(package.platformtoolset)-mt-s-$(package.pathversion).ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
164*0ac341f1SConrad Meyer    </Link>
165*0ac341f1SConrad Meyer  </ItemDefinitionGroup>
166*0ac341f1SConrad Meyer  <ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'ltcg' And $\(Configuration.IndexOf('Debug')) != -1">
167*0ac341f1SConrad Meyer    <Link>
168*0ac341f1SConrad Meyer      <AdditionalDependencies>$(package.target)-x86-$(package.platformtoolset)-mt-sgd-$(package.pathversion).ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
169*0ac341f1SConrad Meyer    </Link>
170*0ac341f1SConrad Meyer  </ItemDefinitionGroup>
171*0ac341f1SConrad Meyer  <ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'ltcg' And $\(Configuration.IndexOf('Release')) != -1">
172*0ac341f1SConrad Meyer    <Link>
173*0ac341f1SConrad Meyer      <AdditionalDependencies>$(package.target)-x64-$(package.platformtoolset)-mt-s-$(package.pathversion).ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
174*0ac341f1SConrad Meyer    </Link>
175*0ac341f1SConrad Meyer  </ItemDefinitionGroup>
176*0ac341f1SConrad Meyer  <ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'ltcg' And $\(Configuration.IndexOf('Debug')) != -1">
177*0ac341f1SConrad Meyer    <Link>
178*0ac341f1SConrad Meyer      <AdditionalDependencies>$(package.target)-x64-$(package.platformtoolset)-mt-sgd-$(package.pathversion).ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
179*0ac341f1SConrad Meyer    </Link>
180*0ac341f1SConrad Meyer  </ItemDefinitionGroup>
181*0ac341f1SConrad Meyer
182*0ac341f1SConrad Meyer  <!-- dynamic import libraries -->
183*0ac341f1SConrad Meyer  <ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'dynamic' And $\(Configuration.IndexOf('Release')) != -1">
184*0ac341f1SConrad Meyer    <Link>
185*0ac341f1SConrad Meyer      <AdditionalDependencies>$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
186*0ac341f1SConrad Meyer    </Link>
187*0ac341f1SConrad Meyer  </ItemDefinitionGroup>
188*0ac341f1SConrad Meyer  <ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'dynamic' And $\(Configuration.IndexOf('Debug')) != -1">
189*0ac341f1SConrad Meyer    <Link>
190*0ac341f1SConrad Meyer      <AdditionalDependencies>$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
191*0ac341f1SConrad Meyer    </Link>
192*0ac341f1SConrad Meyer  </ItemDefinitionGroup>
193*0ac341f1SConrad Meyer  <ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'dynamic' And $\(Configuration.IndexOf('Release')) != -1">
194*0ac341f1SConrad Meyer    <Link>
195*0ac341f1SConrad Meyer      <AdditionalDependencies>$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
196*0ac341f1SConrad Meyer    </Link>
197*0ac341f1SConrad Meyer  </ItemDefinitionGroup>
198*0ac341f1SConrad Meyer  <ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'dynamic' And $\(Configuration.IndexOf('Debug')) != -1">
199*0ac341f1SConrad Meyer    <Link>
200*0ac341f1SConrad Meyer      <AdditionalDependencies>$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
201*0ac341f1SConrad Meyer    </Link>
202*0ac341f1SConrad Meyer  </ItemDefinitionGroup>
203*0ac341f1SConrad Meyer
204*0ac341f1SConrad Meyer  <!-- dynamic libraries with debug symbols -->
205*0ac341f1SConrad Meyer  <Target Name="$(package.target)_AfterBuild" AfterTargets="AfterBuild" />
206*0ac341f1SConrad Meyer  <Target Name="$(package.target)_AfterBuild_Win32_$(package.platformtoolset)_Dynamic_Release"
207*0ac341f1SConrad Meyer          Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'dynamic' And $\(Configuration.IndexOf('Release')) != -1"
208*0ac341f1SConrad Meyer          AfterTargets="$(package.target)_AfterBuild">
209*0ac341f1SConrad Meyer    <Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).dll" DestinationFiles="$\(TargetDir)$(package.target).dll" SkipUnchangedFiles="true" />
210*0ac341f1SConrad Meyer    <!--<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).pdb" DestinationFiles="$\(TargetDir)$(package.target).pdb" SkipUnchangedFiles="true" />-->
211*0ac341f1SConrad Meyer  </Target>
212*0ac341f1SConrad Meyer  <Target Name="$(package.target)_AfterBuild_Win32_$(package.platformtoolset)_Dynamic_Debug"
213*0ac341f1SConrad Meyer          Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'dynamic' And $\(Configuration.IndexOf('Debug')) != -1"
214*0ac341f1SConrad Meyer          AfterTargets="$(package.target)_AfterBuild">
215*0ac341f1SConrad Meyer    <Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).dll" DestinationFiles="$\(TargetDir)$(package.target).dll" SkipUnchangedFiles="true" />
216*0ac341f1SConrad Meyer    <Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).pdb" DestinationFiles="$\(TargetDir)$(package.target).pdb" SkipUnchangedFiles="true" />
217*0ac341f1SConrad Meyer  </Target>
218*0ac341f1SConrad Meyer  <Target Name="$(package.target)_AfterBuild_x64_$(package.platformtoolset)_Dynamic_Release"
219*0ac341f1SConrad Meyer          Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'dynamic' And $\(Configuration.IndexOf('Release')) != -1"
220*0ac341f1SConrad Meyer          AfterTargets="$(package.target)_AfterBuild">
221*0ac341f1SConrad Meyer    <Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).dll" DestinationFiles="$\(TargetDir)$(package.target).dll" SkipUnchangedFiles="true" />
222*0ac341f1SConrad Meyer    <!--<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).pdb" DestinationFiles="$\(TargetDir)$(package.target).pdb" SkipUnchangedFiles="true" />-->
223*0ac341f1SConrad Meyer  </Target>
224*0ac341f1SConrad Meyer  <Target Name="$(package.target)_AfterBuild_x64_$(package.platformtoolset)_Dynamic_Debug"
225*0ac341f1SConrad Meyer          Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'dynamic' And $\(Configuration.IndexOf('Debug')) != -1"
226*0ac341f1SConrad Meyer          AfterTargets="$(package.target)_AfterBuild">
227*0ac341f1SConrad Meyer    <Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).dll" DestinationFiles="$\(TargetDir)$(package.target).dll" SkipUnchangedFiles="true" />
228*0ac341f1SConrad Meyer    <Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).pdb" DestinationFiles="$\(TargetDir)$(package.target).pdb" SkipUnchangedFiles="true" />
229*0ac341f1SConrad Meyer  </Target>
230*0ac341f1SConrad Meyer
231*0ac341f1SConrad Meyer<!--
232*0ac341f1SConrad Meyer#################################################################
233*0ac341f1SConrad Meyer#   GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY    #
234*0ac341f1SConrad Meyer#################################################################
235*0ac341f1SConrad Meyer-->
236*0ac341f1SConrad Meyer</Project>
237*0ac341f1SConrad Meyer.echo "Generating package.xml (ui extension) from template."
238*0ac341f1SConrad Meyer.output "package.xml"
239*0ac341f1SConrad Meyer<?xml version="1.0" encoding="utf-8"?>
240*0ac341f1SConrad Meyer<!--
241*0ac341f1SConrad Meyer#################################################################
242*0ac341f1SConrad Meyer#   GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY    #
243*0ac341f1SConrad Meyer#################################################################
244*0ac341f1SConrad Meyer-->
245*0ac341f1SConrad Meyer<ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework">
246*0ac341f1SConrad Meyer  <Rule Name="Linkage-$(package.target)-uiextension" PageTemplate="tool" DisplayName="NuGet Dependencies" SwitchPrefix="/" Order="1">
247*0ac341f1SConrad Meyer    <Rule.Categories>
248*0ac341f1SConrad Meyer      <Category Name="$(package.target)" DisplayName="$(package.target)" />
249*0ac341f1SConrad Meyer    </Rule.Categories>
250*0ac341f1SConrad Meyer    <Rule.DataSource>
251*0ac341f1SConrad Meyer      <DataSource Persistence="ProjectFile" ItemType="" />
252*0ac341f1SConrad Meyer    </Rule.DataSource>
253*0ac341f1SConrad Meyer    <EnumProperty Name="Linkage-$(package.target)" DisplayName="Linkage" Description="How NuGet $(package.target) will be linked into the output of this project" Category="$(package.target)">
254*0ac341f1SConrad Meyer      <EnumValue Name="" DisplayName="Not linked" />
255*0ac341f1SConrad Meyer      <EnumValue Name="dynamic" DisplayName="Dynamic (DLL)" />
256*0ac341f1SConrad Meyer      <EnumValue Name="static" DisplayName="Static (LIB)" />
257*0ac341f1SConrad Meyer      <EnumValue Name="ltcg" DisplayName="Static using link time compile generation (LTCG)" />
258*0ac341f1SConrad Meyer    </EnumProperty>
259*0ac341f1SConrad Meyer  </Rule>
260*0ac341f1SConrad Meyer</ProjectSchemaDefinitions>