forked from zeromq/zproject
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zproject_nuget.gsl
277 lines (253 loc) · 18.8 KB
/
zproject_nuget.gsl
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
# Generate NuGet nuspec file (for subsequent packing).
#
# This is a code generator built using the iMatix GSL code generation
# language. See https://github.com/imatix/gsl for details.
#
# Copyright (c) the Contributors as noted in the AUTHORS file.
# This file is part of zproject.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
register_target ("nuget", "Packaging for NuGet")
function target_nuget
.macro generate_packaging
.terminator="\r\n"
.output "$(topdir)/package.bat"
@if "%ECHOON%" == "" (@echo off) else (@echo %ECHOON%)&:: set ECHOON=on if you want to debug this script
$(project.generated_warning_header_for_dot_bat:)
ECHO Started nuget packaging build.
ECHO.
REM http://nuget.codeplex.com/releases
nuget pack package.nuspec -verbosity detailed
ECHO.
ECHO NOTE: Ignore warnings not applicable to native code: "Issue: Assembly outside lib folder."
ECHO.
ECHO Completed nuget packaging build. The package is in the following folder:
CD
.output "$(topdir)/package.nuspec"
<?xml version="1.0" encoding="utf-8"?>
<!--
$(project.GENERATED_WARNING_HEADER:)
-->
<package xmlns="http://schemas.microsoft.com/packaging/2013/01/nuspec.xsd">
<metadata minClientVersion="2.5">
<id>$(nuget_id)</id>
<version>$(nuget_version)</version>
<title>$(nuget_id)</title>
<authors>See AUTHORS</authors>
<owners>Eric Voskuil</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<developmentDependency>false</developmentDependency>
<description>$(project.description:)</description>
<summary></summary>
<copyright>Copyright the AUTHORS</copyright>
<tags>native</tags>
<dependencies>
.for project.nuget_dependency
<dependency id="$(name)" version="$(value)" />
.endfor
</dependencies>
</metadata>
<files>
<!-- include -->
<file src="..\\..\\..\\include\\*.h" target="build\\native\\include" />
<!-- targets -->
<file src="package.targets" target="build\\native\\$(nuget_id).targets" />
<file src="package.xml" target="build\\native\\package.xml" />
<!-- docs -->
<!-- Documents (.*) -->
<!--<file src="..\\..\\..\\docs\\*" target="build\\native\\docs" />-->
<!-- libraries -->
<!-- x86 Dynamic libraries (.dll) -->
<file src="..\\..\\..\\bin\\Win32\\Release\\$(nuget_platformtoolset)\\dynamic\\$(prefix).dll" target="build\\native\\bin\\$(prefix)-x86-$(nuget_platformtoolset)-mt-$(nuget_versionp).dll" />
<file src="..\\..\\..\\bin\\Win32\\Debug\\$(nuget_platformtoolset)\\dynamic\\$(prefix).dll" target="build\\native\\bin\\$(prefix)-x86-$(nuget_platformtoolset)-mt-gd-$(nuget_versionp).dll" />
<!-- x86 Debugging symbols (.pdb) -->
<!--<file src="..\\..\\..\\bin\\Win32\\Release\\$(nuget_platformtoolset)\\dynamic\\$(prefix).pdb" target="build\\native\\bin\\$(prefix)-x86-$(nuget_platformtoolset)-mt-$(nuget_versionp).pdb" />-->
<file src="..\\..\\..\\bin\\Win32\\Debug\\$(nuget_platformtoolset)\\dynamic\\$(prefix).pdb" target="build\\native\\bin\\$(prefix)-x86-$(nuget_platformtoolset)-mt-gd-$(nuget_versionp).pdb" />
<!-- x86 Import libraries (.imp.lib) -->
<file src="..\\..\\..\\bin\\Win32\\Release\\$(nuget_platformtoolset)\\dynamic\\$(prefix).lib" target="build\\native\\bin\\$(prefix)-x86-$(nuget_platformtoolset)-mt-$(nuget_versionp).imp.lib" />
<file src="..\\..\\..\\bin\\Win32\\Debug\\$(nuget_platformtoolset)\\dynamic\\$(prefix).lib" target="build\\native\\bin\\$(prefix)-x86-$(nuget_platformtoolset)-mt-gd-$(nuget_versionp).imp.lib" />
<!-- x86 Export libraries (.exp) -->
<file src="..\\..\\..\\bin\\Win32\\Release\\$(nuget_platformtoolset)\\dynamic\\$(prefix).exp" target="build\\native\\bin\\$(prefix)-x86-$(nuget_platformtoolset)-mt-$(nuget_versionp).exp" />
<file src="..\\..\\..\\bin\\Win32\\Debug\\$(nuget_platformtoolset)\\dynamic\\$(prefix).exp" target="build\\native\\bin\\$(prefix)-x86-$(nuget_platformtoolset)-mt-gd-$(nuget_versionp).exp" />
<!-- x86 Static libraries (.lib) -->
<file src="..\\..\\..\\bin\\Win32\\Release\\$(nuget_platformtoolset)\\static\\$(prefix).lib" target="build\\native\\bin\\$(prefix)-x86-$(nuget_platformtoolset)-mt-s-$(nuget_versionp).lib" />
<file src="..\\..\\..\\bin\\Win32\\Debug\\$(nuget_platformtoolset)\\static\\$(prefix).lib" target="build\\native\\bin\\$(prefix)-x86-$(nuget_platformtoolset)-mt-sgd-$(nuget_versionp).lib" />
<!-- x86 Static link time code generation libraries (.ltcg.lib) -->
<file src="..\\..\\..\\bin\\Win32\\Release\\$(nuget_platformtoolset)\\ltcg\\$(prefix).lib" target="build\\native\\bin\\$(prefix)-x86-$(nuget_platformtoolset)-mt-s-$(nuget_versionp).ltcg.lib" />
<file src="..\\..\\..\\bin\\Win32\\Debug\\$(nuget_platformtoolset)\\ltcg\\$(prefix).lib" target="build\\native\\bin\\$(prefix)-x86-$(nuget_platformtoolset)-mt-sgd-$(nuget_versionp).ltcg.lib" />
<!-- x64 Dynamic libraries (.dll) -->
<file src="..\\..\\..\\bin\\x64\\Release\\$(nuget_platformtoolset)\\dynamic\\$(prefix).dll" target="build\\native\\bin\\$(prefix)-x64-$(nuget_platformtoolset)-mt-$(nuget_versionp).dll" />
<file src="..\\..\\..\\bin\\x64\\Debug\\$(nuget_platformtoolset)\\dynamic\\$(prefix).dll" target="build\\native\\bin\\$(prefix)-x64-$(nuget_platformtoolset)-mt-gd-$(nuget_versionp).dll" />
<!-- x64 Debugging symbols (.pdb) -->
<!--<file src="..\\..\\..\\bin\\x64\\Release\\$(nuget_platformtoolset)\\dynamic\\$(prefix).pdb" target="build\\native\\bin\\$(prefix)-x64-$(nuget_platformtoolset)-mt-$(nuget_versionp).pdb" />-->
<file src="..\\..\\..\\bin\\x64\\Debug\\$(nuget_platformtoolset)\\dynamic\\$(prefix).pdb" target="build\\native\\bin\\$(prefix)-x64-$(nuget_platformtoolset)-mt-gd-$(nuget_versionp).pdb" />
<!-- x64 Import libraries (.imp.lib) -->
<file src="..\\..\\..\\bin\\x64\\Release\\$(nuget_platformtoolset)\\dynamic\\$(prefix).lib" target="build\\native\\bin\\$(prefix)-x64-$(nuget_platformtoolset)-mt-$(nuget_versionp).imp.lib" />
<file src="..\\..\\..\\bin\\x64\\Debug\\$(nuget_platformtoolset)\\dynamic\\$(prefix).lib" target="build\\native\\bin\\$(prefix)-x64-$(nuget_platformtoolset)-mt-gd-$(nuget_versionp).imp.lib" />
<!-- x64 Export libraries (.exp) -->
<file src="..\\..\\..\\bin\\x64\\Release\\$(nuget_platformtoolset)\\dynamic\\$(prefix).exp" target="build\\native\\bin\\$(prefix)-x64-$(nuget_platformtoolset)-mt-$(nuget_versionp).exp" />
<file src="..\\..\\..\\bin\\x64\\Debug\\$(nuget_platformtoolset)\\dynamic\\$(prefix).exp" target="build\\native\\bin\\$(prefix)-x64-$(nuget_platformtoolset)-mt-gd-$(nuget_versionp).exp" />
<!-- x64 Static libraries (.lib) -->
<file src="..\\..\\..\\bin\\x64\\Release\\$(nuget_platformtoolset)\\static\\$(prefix).lib" target="build\\native\\bin\\$(prefix)-x64-$(nuget_platformtoolset)-mt-s-$(nuget_versionp).lib" />
<file src="..\\..\\..\\bin\\x64\\Debug\\$(nuget_platformtoolset)\\static\\$(prefix).lib" target="build\\native\\bin\\$(prefix)-x64-$(nuget_platformtoolset)-mt-sgd-$(nuget_versionp).lib" />
<!-- x64 Static link time code generation libraries (.ltcg.lib) -->
<file src="..\\..\\..\\bin\\Win32\\Release\\$(nuget_platformtoolset)\\ltcg\\$(prefix).lib" target="build\\native\\bin\\$(prefix)-x64-$(nuget_platformtoolset)-mt-s-$(nuget_versionp).ltcg.lib" />
<file src="..\\..\\..\\bin\\Win32\\Debug\\$(nuget_platformtoolset)\\ltcg\\$(prefix).lib" target="build\\native\\bin\\$(prefix)-x64-$(nuget_platformtoolset)-mt-sgd-$(nuget_versionp).ltcg.lib" />
</files>
<!--
$(project.GENERATED_WARNING_HEADER:)
-->
</package>
.output "$(topdir)/package.targets"
<?xml version="1.0" encoding="utf-8"?>
<!--
$(project.GENERATED_WARNING_HEADER:)
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- user interface -->
<ItemGroup>
<PropertyPageSchema Include="$\(MSBuildThisFileDirectory)package.xml" />
</ItemGroup>
<!-- general -->
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$\(MSBuildThisFileDirectory)include\\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>$\(MSBuildThisFileDirectory)bin\\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$\(Linkage-$(prefix))' == 'static' Or '$\(Linkage-$(prefix))' == 'ltcg'">
<ClCompile>
<PreprocessorDefinitions>$(PROJECT.PREFIX)_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
<!-- static libraries -->
<ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(nuget_platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(prefix))' == 'static' And $\(Configuration.IndexOf('Release')) != -1">
<Link>
<AdditionalDependencies>$(prefix)-x86-$(nuget_platformtoolset)-mt-s-$(nuget_versionp).lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(nuget_platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(prefix))' == 'static' And $\(Configuration.IndexOf('Debug')) != -1">
<Link>
<AdditionalDependencies>$(prefix)-x86-$(nuget_platformtoolset)-mt-sgd-$(nuget_versionp).lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(nuget_platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(prefix))' == 'static' And $\(Configuration.IndexOf('Release')) != -1">
<Link>
<AdditionalDependencies>$(prefix)-x64-$(nuget_platformtoolset)-mt-s-$(nuget_versionp).lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(nuget_platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(prefix))' == 'static' And $\(Configuration.IndexOf('Debug')) != -1">
<Link>
<AdditionalDependencies>$(prefix)-x64-$(nuget_platformtoolset)-mt-sgd-$(nuget_versionp).lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<!-- static ltcg libraries -->
<ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(nuget_platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(prefix))' == 'ltcg' And $\(Configuration.IndexOf('Release')) != -1">
<Link>
<AdditionalDependencies>$(prefix)-x86-$(nuget_platformtoolset)-mt-s-$(nuget_versionp).ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(nuget_platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(prefix))' == 'ltcg' And $\(Configuration.IndexOf('Debug')) != -1">
<Link>
<AdditionalDependencies>$(prefix)-x86-$(nuget_platformtoolset)-mt-sgd-$(nuget_versionp).ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(nuget_platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(prefix))' == 'ltcg' And $\(Configuration.IndexOf('Release')) != -1">
<Link>
<AdditionalDependencies>$(prefix)-x64-$(nuget_platformtoolset)-mt-s-$(nuget_versionp).ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(nuget_platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(prefix))' == 'ltcg' And $\(Configuration.IndexOf('Debug')) != -1">
<Link>
<AdditionalDependencies>$(prefix)-x64-$(nuget_platformtoolset)-mt-sgd-$(nuget_versionp).ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<!-- dynamic import libraries -->
<ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(nuget_platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(prefix))' == 'dynamic' And $\(Configuration.IndexOf('Release')) != -1">
<Link>
<AdditionalDependencies>$(prefix)-x86-$(nuget_platformtoolset)-mt-$(nuget_versionp).imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(nuget_platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(prefix))' == 'dynamic' And $\(Configuration.IndexOf('Debug')) != -1">
<Link>
<AdditionalDependencies>$(prefix)-x86-$(nuget_platformtoolset)-mt-gd-$(nuget_versionp).imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(nuget_platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(prefix))' == 'dynamic' And $\(Configuration.IndexOf('Release')) != -1">
<Link>
<AdditionalDependencies>$(prefix)-x64-$(nuget_platformtoolset)-mt-$(nuget_versionp).imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(nuget_platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(prefix))' == 'dynamic' And $\(Configuration.IndexOf('Debug')) != -1">
<Link>
<AdditionalDependencies>$(prefix)-x64-$(nuget_platformtoolset)-mt-gd-$(nuget_versionp).imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<!-- dynamic libraries with debug symbols -->
<Target Name="$(prefix)_AfterBuild" AfterTargets="AfterBuild" />
<Target Name="$(prefix)_AfterBuild_Win32_$(nuget_platformtoolset)_Dynamic_Release"
Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(nuget_platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(prefix))' == 'dynamic' And $\(Configuration.IndexOf('Release')) != -1"
AfterTargets="$(prefix)_AfterBuild">
<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(prefix)-x86-$(nuget_platformtoolset)-mt-$(nuget_versionp).dll" DestinationFiles="$\(TargetDir)$(prefix).dll" SkipUnchangedFiles="true" />
<!--<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(prefix)-x86-$(nuget_platformtoolset)-mt-$(nuget_versionp).pdb" DestinationFiles="$\(TargetDir)$(prefix).pdb" SkipUnchangedFiles="true" />-->
</Target>
<Target Name="$(prefix)_AfterBuild_Win32_$(nuget_platformtoolset)_Dynamic_Debug"
Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(nuget_platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(prefix))' == 'dynamic' And $\(Configuration.IndexOf('Debug')) != -1"
AfterTargets="$(prefix)_AfterBuild">
<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(prefix)-x86-$(nuget_platformtoolset)-mt-gd-$(nuget_versionp).dll" DestinationFiles="$\(TargetDir)$(prefix).dll" SkipUnchangedFiles="true" />
<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(prefix)-x86-$(nuget_platformtoolset)-mt-gd-$(nuget_versionp).pdb" DestinationFiles="$\(TargetDir)$(prefix).pdb" SkipUnchangedFiles="true" />
</Target>
<Target Name="$(prefix)_AfterBuild_x64_$(nuget_platformtoolset)_Dynamic_Release"
Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(nuget_platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(prefix))' == 'dynamic' And $\(Configuration.IndexOf('Release')) != -1"
AfterTargets="$(prefix)_AfterBuild">
<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(prefix)-x64-$(nuget_platformtoolset)-mt-$(nuget_versionp).dll" DestinationFiles="$\(TargetDir)$(prefix).dll" SkipUnchangedFiles="true" />
<!--<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(prefix)-x64-$(nuget_platformtoolset)-mt-$(nuget_versionp).pdb" DestinationFiles="$\(TargetDir)$(prefix).pdb" SkipUnchangedFiles="true" />-->
</Target>
<Target Name="$(prefix)_AfterBuild_x64_$(nuget_platformtoolset)_Dynamic_Debug"
Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(nuget_platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(prefix))' == 'dynamic' And $\(Configuration.IndexOf('Debug')) != -1"
AfterTargets="$(prefix)_AfterBuild">
<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(prefix)-x64-$(nuget_platformtoolset)-mt-gd-$(nuget_versionp).dll" DestinationFiles="$\(TargetDir)$(prefix).dll" SkipUnchangedFiles="true" />
<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(prefix)-x64-$(nuget_platformtoolset)-mt-gd-$(nuget_versionp).pdb" DestinationFiles="$\(TargetDir)$(prefix).pdb" SkipUnchangedFiles="true" />
</Target>
<!--
$(project.GENERATED_WARNING_HEADER:)
-->
</Project>
.output "$(topdir)/package.xml"
<?xml version="1.0" encoding="utf-8"?>
<!--
$(project.GENERATED_WARNING_HEADER:)
-->
<ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework">
<Rule Name="Linkage-$(prefix)-uiextension" PageTemplate="tool" DisplayName="NuGet Dependencies" SwitchPrefix="/" Order="1">
<Rule.Categories>
<Category Name="$(prefix)" DisplayName="$(prefix)" />
</Rule.Categories>
<Rule.DataSource>
<DataSource Persistence="ProjectFile" ItemType="" />
</Rule.DataSource>
<EnumProperty Name="Linkage-$(prefix)" DisplayName="Linkage" Description="How NuGet $(prefix) will be linked into the output of this project" Category="$(prefix)">
<EnumValue Name="" DisplayName="Not linked" />
<EnumValue Name="dynamic" DisplayName="Dynamic (DLL)" />
<EnumValue Name="static" DisplayName="Static (LIB)" />
<EnumValue Name="ltcg" DisplayName="Static using link time compile generation (LTCG)" />
</EnumProperty>
</Rule>
<!--
$(project.GENERATED_WARNING_HEADER:)
-->
</ProjectSchemaDefinitions>
.terminator="\n"
.endmacro
project.nuget_id ?= project.prefix + "vc120"
project.nuget_platformtoolset ?= "v120"
project.nuget_version = "$(project->version.major).$(project->version.minor).$(project->version.patch).0"
project.nuget_versionp = "$(project->version.major)_$(project->version.minor)_$(project->version.patch)_0"
project.topdir = "builds/msvc/nuget"
directory.create (project.topdir)
generate_packaging ()
endfunction