mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 15:26:04 +00:00
Add nuget package generation and GUI selection of OpenPGM option.
This commit is contained in:
parent
f3c156ba2b
commit
c044f73bb7
BIN
builds/msvc/libzmq.rc
Normal file
BIN
builds/msvc/libzmq.rc
Normal file
Binary file not shown.
14
builds/msvc/resource.h
Normal file
14
builds/msvc/resource.h
Normal file
@ -0,0 +1,14 @@
|
||||
//{{NO_DEPENDENCIES}}
|
||||
// Microsoft Visual C++ generated include file.
|
||||
// Used by libzmq.rc
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 101
|
||||
#define _APS_NEXT_COMMAND_VALUE 40001
|
||||
#define _APS_NEXT_CONTROL_VALUE 1001
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#endif
|
||||
#endif
|
@ -26,6 +26,9 @@
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>ZMQ_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Lib>
|
||||
<AdditionalOptions>/ignore:4221 %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<ItemDefinitionGroup Condition="'$(ConfigurationType)'=='DynamicLibrary'">
|
||||
@ -34,6 +37,7 @@
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- The sodium nuget library will inject HAVE_LIBSODIUM via a target when loaded. -->
|
||||
<!--<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
||||
<Message Text="Linkage-sodium : $(Linkage-sodium)" Importance="high"/>
|
||||
</Target>-->
|
||||
|
@ -168,6 +168,14 @@
|
||||
<Import Project="$(ProjectDir)..\properties\StaticRelease.props" />
|
||||
<Import Project="$(ProjectDir)..\properties\x64.props" />
|
||||
</ImportGroup>
|
||||
<ItemGroup Label="BuildOptionsExtension">
|
||||
<PropertyPageSchema Include="$(ProjectName).xml" />
|
||||
</ItemGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions Condition="'$(Option-openpgm)' == 'true'">ZMQ_HAVE_OPENPGM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\..\..\include\zmq.h" />
|
||||
<ClInclude Include="..\..\..\..\include\zmq_utils.h" />
|
||||
@ -249,6 +257,7 @@
|
||||
<ClInclude Include="..\..\..\..\src\xsub.hpp" />
|
||||
<ClInclude Include="..\..\..\..\src\ypipe.hpp" />
|
||||
<ClInclude Include="..\..\..\..\src\yqueue.hpp" />
|
||||
<ClInclude Include="..\..\resource.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\..\..\src\address.cpp" />
|
||||
@ -318,5 +327,18 @@
|
||||
<ClCompile Include="..\..\..\..\src\zmq.cpp" />
|
||||
<ClCompile Include="..\..\..\..\src\zmq_utils.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\..\..\..\packaging\nuget\package.bat" />
|
||||
<None Include="..\..\..\..\packaging\nuget\package.config" />
|
||||
<None Include="..\..\..\..\packaging\nuget\package.gsl" />
|
||||
<None Include="..\..\..\..\packaging\nuget\package.nuspec" />
|
||||
<None Include="..\..\..\..\packaging\nuget\package.targets" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Xml Include="..\..\..\..\packaging\nuget\package.xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\libzmq.rc" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
</Project>
|
@ -441,6 +441,9 @@
|
||||
<ClInclude Include="..\..\..\..\src\pgm_sender.hpp">
|
||||
<Filter>src\include</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\resource.h">
|
||||
<Filter>resource</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Filter Include="include">
|
||||
@ -452,5 +455,38 @@
|
||||
<Filter Include="src\include">
|
||||
<UniqueIdentifier>{90853975-3420-4f06-8be4-4ab3d9792160}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="packaging">
|
||||
<UniqueIdentifier>{f5e26e9d-c33d-45c1-95e4-0732acd28b59}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="resource">
|
||||
<UniqueIdentifier>{e66010e4-a9ea-4e2e-8bc6-12fec14bb009}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\..\..\..\packaging\nuget\package.bat">
|
||||
<Filter>packaging</Filter>
|
||||
</None>
|
||||
<None Include="..\..\..\..\packaging\nuget\package.config">
|
||||
<Filter>packaging</Filter>
|
||||
</None>
|
||||
<None Include="..\..\..\..\packaging\nuget\package.gsl">
|
||||
<Filter>packaging</Filter>
|
||||
</None>
|
||||
<None Include="..\..\..\..\packaging\nuget\package.targets">
|
||||
<Filter>packaging</Filter>
|
||||
</None>
|
||||
<None Include="..\..\..\..\packaging\nuget\package.nuspec">
|
||||
<Filter>packaging</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Xml Include="..\..\..\..\packaging\nuget\package.xml">
|
||||
<Filter>packaging</Filter>
|
||||
</Xml>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\libzmq.rc">
|
||||
<Filter>resource</Filter>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
15
builds/msvc/vs2013/libzmq/libzmq.xml
Normal file
15
builds/msvc/vs2013/libzmq/libzmq.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework">
|
||||
<Rule Name="openpgm-uiextension" PageTemplate="tool" DisplayName="ZMQ Options" SwitchPrefix="/" Order="1">
|
||||
<Rule.Categories>
|
||||
<Category Name="openpgm" DisplayName="openpgm" />
|
||||
</Rule.Categories>
|
||||
<Rule.DataSource>
|
||||
<DataSource Persistence="ProjectFile" ItemType="" />
|
||||
</Rule.DataSource>
|
||||
<EnumProperty Name="Option-openpgm" DisplayName="Enable OpenPGM" Description="Enable the OpenPGM build option" Category="openpgm">
|
||||
<EnumValue Name="" DisplayName="No" />
|
||||
<EnumValue Name="true" DisplayName="Yes" />
|
||||
</EnumProperty>
|
||||
</Rule>
|
||||
</ProjectSchemaDefinitions>
|
13
packaging/nuget/package.bat
Normal file
13
packaging/nuget/package.bat
Normal file
@ -0,0 +1,13 @@
|
||||
@ECHO OFF
|
||||
ECHO Started nuget packaging build.
|
||||
ECHO.
|
||||
REM: http://www.nuget.org/packages/gslgen
|
||||
gslgen -q -script:package.gsl package.config
|
||||
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
|
4
packaging/nuget/package.config
Normal file
4
packaging/nuget/package.config
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- These values are populated into the package.gsl templates by package.bat. -->
|
||||
<!-- The target attribute controls path and file name only, id controls package naming. -->
|
||||
<package id="libzmq" target="libzmq" namespace="libzmq12" version = "4.1.0.0" pathversion="4_1_0_0" platformtoolset="v120" />
|
256
packaging/nuget/package.gsl
Normal file
256
packaging/nuget/package.gsl
Normal file
@ -0,0 +1,256 @@
|
||||
.# 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. This script
|
||||
.# is licensed under MIT/X11.
|
||||
.#
|
||||
.echo "Generating package.nuspec from template."
|
||||
.output "package.nuspec"
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
#################################################################
|
||||
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY #
|
||||
#################################################################
|
||||
-->
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2013/01/nuspec.xsd">
|
||||
<metadata minClientVersion="2.5">
|
||||
<id>$(package.id)</id>
|
||||
<version>$(package.version)</version>
|
||||
<title>Libzmq (v120) [without OpenPGM or Sodium]</title>
|
||||
<authors>Libzmq contributors</authors>
|
||||
<owners>Eric Voskuil</owners>
|
||||
<licenseUrl>https://raw.github.com/zeromq/libzmq/master/COPYING.LESSER</licenseUrl>
|
||||
<projectUrl>https://github.com/zeromq/libzmq</projectUrl>
|
||||
<iconUrl>http://zeromq.wdfiles.com/local--files/admin:css/logo.gif</iconUrl>
|
||||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||
<developmentDependency>true</developmentDependency>
|
||||
<description>The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products. 0MQ sockets provide an abstraction of asynchronous message queues, multiple messaging patterns, message filtering (subscriptions), seamless access to multiple transport protocols and more.</description>
|
||||
<summary>The 0MQ lightweight messaging kernel, packaged for Visual Studio 2013 (v120) and CTP_Nov2013 compilers, without OpenPGM or Sodium.</summary>
|
||||
<releaseNotes>http://freecode.com/projects/$(package.target)duo/releases</releaseNotes>
|
||||
<copyright>GNU Lesser GPL v3</copyright>
|
||||
<tags>native, libzmq, zmq, 0MQ, messaging, sockets, C++</tags>
|
||||
</metadata>
|
||||
<files>
|
||||
<!-- include -->
|
||||
|
||||
<file src="..\\..\\include\\zmq.h" target="build\\native\\include" />
|
||||
<file src="..\\..\\include\\zmq_utils.h" target="build\\native\\include" />
|
||||
|
||||
<!-- targets -->
|
||||
|
||||
<file src="package.targets" target="build\\native\\package.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\\$(package.namespace)\\$(package.target).dll" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).dll" />
|
||||
<file src="..\\..\\bin\\Win32\\Debug\\$(package.namespace)\\$(package.target).dll" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).dll" />
|
||||
|
||||
<!-- x86 Debugging symbols (.pdb) -->
|
||||
<!--<file src="..\\..\\bin\\Win32\\Release\\$(package.namespace)\\$(package.target).pdb" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).pdb" />-->
|
||||
<file src="..\\..\\bin\\Win32\\Debug\\$(package.namespace)\\$(package.target).pdb" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).pdb" />
|
||||
|
||||
<!-- x86 Static libraries (.lib) -->
|
||||
<file src="..\\..\\bin\\Win32\\Release\\$(package.namespace)\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-s-$(package.pathversion).lib" />
|
||||
<file src="..\\..\\bin\\Win32\\Debug\\$(package.namespace)\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-sgd-$(package.pathversion).lib" />
|
||||
|
||||
<!-- x86 Static link time code generation libraries (.ltcg.lib) -->
|
||||
<file src="..\\..\\bin\\Win32\\Release\\$(package.namespace)\\$(package.target).ltcg.lib" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-s-$(package.pathversion).ltcg.lib" />
|
||||
<file src="..\\..\\bin\\Win32\\Debug\\$(package.namespace)\\$(package.target).ltcg.lib" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-sgd-$(package.pathversion).ltcg.lib" />
|
||||
|
||||
<!-- x86 Import libraries (.imp.lib) -->
|
||||
<file src="..\\..\\bin\\Win32\\Release\\$(package.namespace)\\$(package.target).imp.lib" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).imp.lib" />
|
||||
<file src="..\\..\\bin\\Win32\\Debug\\$(package.namespace)\\$(package.target).imp.lib" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).imp.lib" />
|
||||
|
||||
<!-- x86 Export libraries (.exp) -->
|
||||
<file src="..\\..\\bin\\Win32\\Release\\$(package.namespace)\\$(package.target).imp.exp" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).exp" />
|
||||
<file src="..\\..\\bin\\Win32\\Debug\\$(package.namespace)\\$(package.target).imp.exp" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).exp" />
|
||||
|
||||
<!-- x64 Dynamic libraries (.dll) -->
|
||||
<file src="..\\..\\bin\\x64\\Release\\$(package.namespace)\\$(package.target).dll" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).dll" />
|
||||
<file src="..\\..\\bin\\x64\\Debug\\$(package.namespace)\\$(package.target).dll" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).dll" />
|
||||
|
||||
<!-- x64 Debugging symbols (.pdb) -->
|
||||
<!--<file src="..\\..\\bin\\x64\\Release\\$(package.namespace)\\$(package.target).pdb" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).pdb" />-->
|
||||
<file src="..\\..\\bin\\x64\\Debug\\$(package.namespace)\\$(package.target).pdb" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).pdb" />
|
||||
|
||||
<!-- x64 Static libraries (.lib) -->
|
||||
<file src="..\\..\\bin\\x64\\Release\\$(package.namespace)\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-s-$(package.pathversion).lib" />
|
||||
<file src="..\\..\\bin\\x64\\Debug\\$(package.namespace)\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-sgd-$(package.pathversion).lib" />
|
||||
|
||||
<!-- x64 Static link time code generation libraries (.ltcg.lib) -->
|
||||
<file src="..\\..\\bin\\Win32\\Release\\$(package.namespace)\\$(package.target).ltcg.lib" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-s-$(package.pathversion).ltcg.lib" />
|
||||
<file src="..\\..\\bin\\Win32\\Debug\\$(package.namespace)\\$(package.target).ltcg.lib" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-sgd-$(package.pathversion).ltcg.lib" />
|
||||
|
||||
<!-- x64 Import libraries (.imp.lib) -->
|
||||
<file src="..\\..\\bin\\x64\\Release\\$(package.namespace)\\$(package.target).imp.lib" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).imp.lib" />
|
||||
<file src="..\\..\\bin\\x64\\Debug\\$(package.namespace)\\$(package.target).imp.lib" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).imp.lib" />
|
||||
|
||||
<!-- x64 Export libraries (.exp) -->
|
||||
<file src="..\\..\\bin\\x64\\Release\\$(package.namespace)\\$(package.target).imp.exp" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).exp" />
|
||||
<file src="..\\..\\bin\\x64\\Debug\\$(package.namespace)\\$(package.target).imp.exp" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).exp" />
|
||||
</files>
|
||||
<!--
|
||||
#################################################################
|
||||
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY #
|
||||
#################################################################
|
||||
-->
|
||||
</package>
|
||||
.echo "Generating package.targets from template."
|
||||
.output "package.targets"
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
#################################################################
|
||||
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY #
|
||||
#################################################################
|
||||
-->
|
||||
<Project ToolsVersion="12.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-$(package.target))' == 'static' Or '$\(Linkage-$(package.target))' == 'ltcg'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>ZMQ_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- static libraries -->
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'static' And $\(Configuration.IndexOf('Release')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x86-$(package.platformtoolset)-mt-s-$(package.pathversion).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'static' And $\(Configuration.IndexOf('Debug')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x86-$(package.platformtoolset)-mt-sgd-$(package.pathversion).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'static' And $\(Configuration.IndexOf('Release')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x64-$(package.platformtoolset)-mt-s-$(package.pathversion).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'static' And $\(Configuration.IndexOf('Debug')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x64-$(package.platformtoolset)-mt-sgd-$(package.pathversion).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- static ltcg libraries -->
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'ltcg' And $\(Configuration.IndexOf('Release')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x86-$(package.platformtoolset)-mt-s-$(package.pathversion).ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'ltcg' And $\(Configuration.IndexOf('Debug')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x86-$(package.platformtoolset)-mt-sgd-$(package.pathversion).ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'ltcg' And $\(Configuration.IndexOf('Release')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x64-$(package.platformtoolset)-mt-s-$(package.pathversion).ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'ltcg' And $\(Configuration.IndexOf('Debug')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x64-$(package.platformtoolset)-mt-sgd-$(package.pathversion).ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- dynamic import libraries -->
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == '' And $\(Configuration.IndexOf('Release')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == '' And $\(Configuration.IndexOf('Debug')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == '' And $\(Configuration.IndexOf('Release')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == '' And $\(Configuration.IndexOf('Debug')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- dynamic libraries with debug symbols -->
|
||||
<Target Name="$(package.target)_AfterBuild" AfterTargets="AfterBuild" />
|
||||
<Target Name="$(package.target)_AfterBuild_Win32_$(package.platformtoolset)_Dynamic_Release"
|
||||
Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == '' And $\(Configuration.IndexOf('Release')) != -1"
|
||||
AfterTargets="$(package.target)_AfterBuild">
|
||||
<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).dll" DestinationFolder="$\(TargetDir)" SkipUnchangedFiles="true" />
|
||||
<!--<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).pdb" DestinationFolder="$\(TargetDir)" SkipUnchangedFiles="true" />-->
|
||||
</Target>
|
||||
<Target Name="$(package.target)_AfterBuild_Win32_$(package.platformtoolset)_Dynamic_Debug"
|
||||
Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == '' And $\(Configuration.IndexOf('Debug')) != -1"
|
||||
AfterTargets="$(package.target)_AfterBuild">
|
||||
<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).dll" DestinationFolder="$\(TargetDir)" SkipUnchangedFiles="true" />
|
||||
<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).pdb" DestinationFolder="$\(TargetDir)" SkipUnchangedFiles="true" />
|
||||
</Target>
|
||||
<Target Name="$(package.target)_AfterBuild_x64_$(package.platformtoolset)_Dynamic_Release"
|
||||
Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == '' And $\(Configuration.IndexOf('Release')) != -1"
|
||||
AfterTargets="$(package.target)_AfterBuild">
|
||||
<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).dll" DestinationFolder="$\(TargetDir)" SkipUnchangedFiles="true" />
|
||||
<!--<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).pdb" DestinationFolder="$\(TargetDir)" SkipUnchangedFiles="true" />-->
|
||||
</Target>
|
||||
<Target Name="$(package.target)_AfterBuild_x64_$(package.platformtoolset)_Dynamic_Debug"
|
||||
Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == '' And $\(Configuration.IndexOf('Debug')) != -1"
|
||||
AfterTargets="$(package.target)_AfterBuild">
|
||||
<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).dll" DestinationFolder="$\(TargetDir)" SkipUnchangedFiles="true" />
|
||||
<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).pdb" DestinationFolder="$\(TargetDir)" SkipUnchangedFiles="true" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
#################################################################
|
||||
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY #
|
||||
#################################################################
|
||||
-->
|
||||
</Project>
|
||||
.echo "Generating package.xml (ui extension) from template."
|
||||
.output "package.xml"
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
#################################################################
|
||||
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY #
|
||||
#################################################################
|
||||
-->
|
||||
<ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework">
|
||||
<Rule Name="$(package.target)-uiextension" PageTemplate="tool" DisplayName="Referenced Packages" SwitchPrefix="/" Order="1">
|
||||
<Rule.Categories>
|
||||
<Category Name="$(package.target)" DisplayName="$(package.target)" />
|
||||
</Rule.Categories>
|
||||
<Rule.DataSource>
|
||||
<DataSource Persistence="ProjectFile" ItemType="" />
|
||||
</Rule.DataSource>
|
||||
<EnumProperty Name="Linkage-$(package.target)" DisplayName="Linkage" Description="How $(package.target) will be linked into the output of this project" Category="$(package.target)">
|
||||
<EnumValue Name="" DisplayName="Dynamic (DLL)" />
|
||||
<EnumValue Name="static" DisplayName="Static (LIB)" />
|
||||
<EnumValue Name="ltcg" DisplayName="Static using link time compile generation (LTCG)" />
|
||||
</EnumProperty>
|
||||
</Rule>
|
||||
</ProjectSchemaDefinitions>
|
96
packaging/nuget/package.nuspec
Normal file
96
packaging/nuget/package.nuspec
Normal file
@ -0,0 +1,96 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
#################################################################
|
||||
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY #
|
||||
#################################################################
|
||||
-->
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2013/01/nuspec.xsd">
|
||||
<metadata minClientVersion="2.5">
|
||||
<id>libzmq</id>
|
||||
<version>4.1.0.0</version>
|
||||
<title>Libzmq (v120) [without OpenPGM or Sodium]</title>
|
||||
<authors>Libzmq contributors</authors>
|
||||
<owners>Eric Voskuil</owners>
|
||||
<licenseUrl>https://raw.github.com/zeromq/libzmq/master/COPYING.LESSER</licenseUrl>
|
||||
<projectUrl>https://github.com/zeromq/libzmq</projectUrl>
|
||||
<iconUrl>http://zeromq.wdfiles.com/local--files/admin:css/logo.gif</iconUrl>
|
||||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||
<developmentDependency>true</developmentDependency>
|
||||
<description>The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products. 0MQ sockets provide an abstraction of asynchronous message queues, multiple messaging patterns, message filtering (subscriptions), seamless access to multiple transport protocols and more.</description>
|
||||
<summary>The 0MQ lightweight messaging kernel, packaged for Visual Studio 2013 (v120) and CTP_Nov2013 compilers, without OpenPGM or Sodium.</summary>
|
||||
<releaseNotes>http://freecode.com/projects/libzmqduo/releases</releaseNotes>
|
||||
<copyright>GNU Lesser GPL v3</copyright>
|
||||
<tags>native, libzmq, zmq, 0MQ, messaging, sockets, C++</tags>
|
||||
</metadata>
|
||||
<files>
|
||||
<!-- include -->
|
||||
|
||||
<file src="..\..\include\zmq.h" target="build\native\include" />
|
||||
<file src="..\..\include\zmq_utils.h" target="build\native\include" />
|
||||
|
||||
<!-- targets -->
|
||||
|
||||
<file src="package.targets" target="build\native\package.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\libzmq12\libzmq.dll" target="build\native\bin\libzmq-x86-v120-mt-4_1_0_0.dll" />
|
||||
<file src="..\..\bin\Win32\Debug\libzmq12\libzmq.dll" target="build\native\bin\libzmq-x86-v120-mt-gd-4_1_0_0.dll" />
|
||||
|
||||
<!-- x86 Debugging symbols (.pdb) -->
|
||||
<!--<file src="..\..\bin\Win32\Release\libzmq12\libzmq.pdb" target="build\native\bin\libzmq-x86-v120-mt-4_1_0_0.pdb" />-->
|
||||
<file src="..\..\bin\Win32\Debug\libzmq12\libzmq.pdb" target="build\native\bin\libzmq-x86-v120-mt-gd-4_1_0_0.pdb" />
|
||||
|
||||
<!-- x86 Static libraries (.lib) -->
|
||||
<file src="..\..\bin\Win32\Release\libzmq12\libzmq.lib" target="build\native\bin\libzmq-x86-v120-mt-s-4_1_0_0.lib" />
|
||||
<file src="..\..\bin\Win32\Debug\libzmq12\libzmq.lib" target="build\native\bin\libzmq-x86-v120-mt-sgd-4_1_0_0.lib" />
|
||||
|
||||
<!-- x86 Static link time code generation libraries (.ltcg.lib) -->
|
||||
<file src="..\..\bin\Win32\Release\libzmq12\libzmq.ltcg.lib" target="build\native\bin\libzmq-x86-v120-mt-s-4_1_0_0.ltcg.lib" />
|
||||
<file src="..\..\bin\Win32\Debug\libzmq12\libzmq.ltcg.lib" target="build\native\bin\libzmq-x86-v120-mt-sgd-4_1_0_0.ltcg.lib" />
|
||||
|
||||
<!-- x86 Import libraries (.imp.lib) -->
|
||||
<file src="..\..\bin\Win32\Release\libzmq12\libzmq.imp.lib" target="build\native\bin\libzmq-x86-v120-mt-4_1_0_0.imp.lib" />
|
||||
<file src="..\..\bin\Win32\Debug\libzmq12\libzmq.imp.lib" target="build\native\bin\libzmq-x86-v120-mt-gd-4_1_0_0.imp.lib" />
|
||||
|
||||
<!-- x86 Export libraries (.exp) -->
|
||||
<file src="..\..\bin\Win32\Release\libzmq12\libzmq.imp.exp" target="build\native\bin\libzmq-x86-v120-mt-4_1_0_0.exp" />
|
||||
<file src="..\..\bin\Win32\Debug\libzmq12\libzmq.imp.exp" target="build\native\bin\libzmq-x86-v120-mt-gd-4_1_0_0.exp" />
|
||||
|
||||
<!-- x64 Dynamic libraries (.dll) -->
|
||||
<file src="..\..\bin\x64\Release\libzmq12\libzmq.dll" target="build\native\bin\libzmq-x64-v120-mt-4_1_0_0.dll" />
|
||||
<file src="..\..\bin\x64\Debug\libzmq12\libzmq.dll" target="build\native\bin\libzmq-x64-v120-mt-gd-4_1_0_0.dll" />
|
||||
|
||||
<!-- x64 Debugging symbols (.pdb) -->
|
||||
<!--<file src="..\..\bin\x64\Release\libzmq12\libzmq.pdb" target="build\native\bin\libzmq-x64-v120-mt-4_1_0_0.pdb" />-->
|
||||
<file src="..\..\bin\x64\Debug\libzmq12\libzmq.pdb" target="build\native\bin\libzmq-x64-v120-mt-gd-4_1_0_0.pdb" />
|
||||
|
||||
<!-- x64 Static libraries (.lib) -->
|
||||
<file src="..\..\bin\x64\Release\libzmq12\libzmq.lib" target="build\native\bin\libzmq-x64-v120-mt-s-4_1_0_0.lib" />
|
||||
<file src="..\..\bin\x64\Debug\libzmq12\libzmq.lib" target="build\native\bin\libzmq-x64-v120-mt-sgd-4_1_0_0.lib" />
|
||||
|
||||
<!-- x64 Static link time code generation libraries (.ltcg.lib) -->
|
||||
<file src="..\..\bin\Win32\Release\libzmq12\libzmq.ltcg.lib" target="build\native\bin\libzmq-x64-v120-mt-s-4_1_0_0.ltcg.lib" />
|
||||
<file src="..\..\bin\Win32\Debug\libzmq12\libzmq.ltcg.lib" target="build\native\bin\libzmq-x64-v120-mt-sgd-4_1_0_0.ltcg.lib" />
|
||||
|
||||
<!-- x64 Import libraries (.imp.lib) -->
|
||||
<file src="..\..\bin\x64\Release\libzmq12\libzmq.imp.lib" target="build\native\bin\libzmq-x64-v120-mt-4_1_0_0.imp.lib" />
|
||||
<file src="..\..\bin\x64\Debug\libzmq12\libzmq.imp.lib" target="build\native\bin\libzmq-x64-v120-mt-gd-4_1_0_0.imp.lib" />
|
||||
|
||||
<!-- x64 Export libraries (.exp) -->
|
||||
<file src="..\..\bin\x64\Release\libzmq12\libzmq.imp.exp" target="build\native\bin\libzmq-x64-v120-mt-4_1_0_0.exp" />
|
||||
<file src="..\..\bin\x64\Debug\libzmq12\libzmq.imp.exp" target="build\native\bin\libzmq-x64-v120-mt-gd-4_1_0_0.exp" />
|
||||
</files>
|
||||
<!--
|
||||
#################################################################
|
||||
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY #
|
||||
#################################################################
|
||||
-->
|
||||
</package>
|
127
packaging/nuget/package.targets
Normal file
127
packaging/nuget/package.targets
Normal file
@ -0,0 +1,127 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
#################################################################
|
||||
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY #
|
||||
#################################################################
|
||||
-->
|
||||
<Project ToolsVersion="12.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-libzmq)' == 'static' Or '$(Linkage-libzmq)' == 'ltcg'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>ZMQ_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- static libraries -->
|
||||
<ItemDefinitionGroup Condition="'$(Platform)' == 'Win32' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libzmq)' == 'static' And $(Configuration.IndexOf('Release')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>libzmq-x86-v120-mt-s-4_1_0_0.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Platform)' == 'Win32' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libzmq)' == 'static' And $(Configuration.IndexOf('Debug')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>libzmq-x86-v120-mt-sgd-4_1_0_0.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Platform)' == 'x64' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libzmq)' == 'static' And $(Configuration.IndexOf('Release')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>libzmq-x64-v120-mt-s-4_1_0_0.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Platform)' == 'x64' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libzmq)' == 'static' And $(Configuration.IndexOf('Debug')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>libzmq-x64-v120-mt-sgd-4_1_0_0.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- static ltcg libraries -->
|
||||
<ItemDefinitionGroup Condition="'$(Platform)' == 'Win32' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libzmq)' == 'ltcg' And $(Configuration.IndexOf('Release')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>libzmq-x86-v120-mt-s-4_1_0_0.ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Platform)' == 'Win32' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libzmq)' == 'ltcg' And $(Configuration.IndexOf('Debug')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>libzmq-x86-v120-mt-sgd-4_1_0_0.ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Platform)' == 'x64' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libzmq)' == 'ltcg' And $(Configuration.IndexOf('Release')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>libzmq-x64-v120-mt-s-4_1_0_0.ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Platform)' == 'x64' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libzmq)' == 'ltcg' And $(Configuration.IndexOf('Debug')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>libzmq-x64-v120-mt-sgd-4_1_0_0.ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- dynamic import libraries -->
|
||||
<ItemDefinitionGroup Condition="'$(Platform)' == 'Win32' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libzmq)' == '' And $(Configuration.IndexOf('Release')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>libzmq-x86-v120-mt-4_1_0_0.imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Platform)' == 'Win32' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libzmq)' == '' And $(Configuration.IndexOf('Debug')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>libzmq-x86-v120-mt-gd-4_1_0_0.imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Platform)' == 'x64' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libzmq)' == '' And $(Configuration.IndexOf('Release')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>libzmq-x64-v120-mt-4_1_0_0.imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Platform)' == 'x64' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libzmq)' == '' And $(Configuration.IndexOf('Debug')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>libzmq-x64-v120-mt-gd-4_1_0_0.imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- dynamic libraries with debug symbols -->
|
||||
<Target Name="libzmq_AfterBuild" AfterTargets="AfterBuild" />
|
||||
<Target Name="libzmq_AfterBuild_Win32_v120_Dynamic_Release"
|
||||
Condition="'$(Platform)' == 'Win32' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libzmq)' == '' And $(Configuration.IndexOf('Release')) != -1"
|
||||
AfterTargets="libzmq_AfterBuild">
|
||||
<Copy SourceFiles="$(MSBuildThisFileDirectory)bin\libzmq-x86-v120-mt-4_1_0_0.dll" DestinationFolder="$(TargetDir)" SkipUnchangedFiles="true" />
|
||||
<!--<Copy SourceFiles="$(MSBuildThisFileDirectory)bin\libzmq-x86-v120-mt-4_1_0_0.pdb" DestinationFolder="$(TargetDir)" SkipUnchangedFiles="true" />-->
|
||||
</Target>
|
||||
<Target Name="libzmq_AfterBuild_Win32_v120_Dynamic_Debug"
|
||||
Condition="'$(Platform)' == 'Win32' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libzmq)' == '' And $(Configuration.IndexOf('Debug')) != -1"
|
||||
AfterTargets="libzmq_AfterBuild">
|
||||
<Copy SourceFiles="$(MSBuildThisFileDirectory)bin\libzmq-x86-v120-mt-gd-4_1_0_0.dll" DestinationFolder="$(TargetDir)" SkipUnchangedFiles="true" />
|
||||
<Copy SourceFiles="$(MSBuildThisFileDirectory)bin\libzmq-x86-v120-mt-gd-4_1_0_0.pdb" DestinationFolder="$(TargetDir)" SkipUnchangedFiles="true" />
|
||||
</Target>
|
||||
<Target Name="libzmq_AfterBuild_x64_v120_Dynamic_Release"
|
||||
Condition="'$(Platform)' == 'x64' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libzmq)' == '' And $(Configuration.IndexOf('Release')) != -1"
|
||||
AfterTargets="libzmq_AfterBuild">
|
||||
<Copy SourceFiles="$(MSBuildThisFileDirectory)bin\libzmq-x64-v120-mt-4_1_0_0.dll" DestinationFolder="$(TargetDir)" SkipUnchangedFiles="true" />
|
||||
<!--<Copy SourceFiles="$(MSBuildThisFileDirectory)bin\libzmq-x64-v120-mt-4_1_0_0.pdb" DestinationFolder="$(TargetDir)" SkipUnchangedFiles="true" />-->
|
||||
</Target>
|
||||
<Target Name="libzmq_AfterBuild_x64_v120_Dynamic_Debug"
|
||||
Condition="'$(Platform)' == 'x64' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libzmq)' == '' And $(Configuration.IndexOf('Debug')) != -1"
|
||||
AfterTargets="libzmq_AfterBuild">
|
||||
<Copy SourceFiles="$(MSBuildThisFileDirectory)bin\libzmq-x64-v120-mt-gd-4_1_0_0.dll" DestinationFolder="$(TargetDir)" SkipUnchangedFiles="true" />
|
||||
<Copy SourceFiles="$(MSBuildThisFileDirectory)bin\libzmq-x64-v120-mt-gd-4_1_0_0.pdb" DestinationFolder="$(TargetDir)" SkipUnchangedFiles="true" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
#################################################################
|
||||
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY #
|
||||
#################################################################
|
||||
-->
|
||||
</Project>
|
21
packaging/nuget/package.xml
Normal file
21
packaging/nuget/package.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
#################################################################
|
||||
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY #
|
||||
#################################################################
|
||||
-->
|
||||
<ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework">
|
||||
<Rule Name="libzmq-uiextension" PageTemplate="tool" DisplayName="Referenced Packages" SwitchPrefix="/" Order="1">
|
||||
<Rule.Categories>
|
||||
<Category Name="libzmq" DisplayName="libzmq" />
|
||||
</Rule.Categories>
|
||||
<Rule.DataSource>
|
||||
<DataSource Persistence="ProjectFile" ItemType="" />
|
||||
</Rule.DataSource>
|
||||
<EnumProperty Name="Linkage-libzmq" DisplayName="Linkage" Description="How libzmq will be linked into the output of this project" Category="libzmq">
|
||||
<EnumValue Name="" DisplayName="Dynamic (DLL)" />
|
||||
<EnumValue Name="static" DisplayName="Static (LIB)" />
|
||||
<EnumValue Name="ltcg" DisplayName="Static using link time compile generation (LTCG)" />
|
||||
</EnumProperty>
|
||||
</Rule>
|
||||
</ProjectSchemaDefinitions>
|
Loading…
x
Reference in New Issue
Block a user