From af5b9601772e85f07ebff858ec2532b1cef14d58 Mon Sep 17 00:00:00 2001 From: Fred Eisele Date: Tue, 25 Mar 2014 16:03:29 -0500 Subject: [PATCH] added files to assist in building nuget packages --- builds/nuget/libzmq.autopkg | 51 +++++++++++++++++++++++++++++++++++++ builds/nuget/readme.nuget | 12 +++++++++ 2 files changed, 63 insertions(+) create mode 100644 builds/nuget/libzmq.autopkg create mode 100644 builds/nuget/readme.nuget diff --git a/builds/nuget/libzmq.autopkg b/builds/nuget/libzmq.autopkg new file mode 100644 index 00000000..ca1f753e --- /dev/null +++ b/builds/nuget/libzmq.autopkg @@ -0,0 +1,51 @@ +nuget{ + nuspec{ + id = czmq; + version: 2.1.0; + title: ZMQ - Code Connected; + authors: {phreed}; + owners: {phreed}; + licenseUrl: https://www.gnu.org/licenses/lgpl.html; + projectUrl: http://czmq.zeromq.org/; + iconUrl: http://czmq.zeromq.org/local--files/admin:css/logo.gif; + requireLicenseAcceptance: false; + summary: High-level C binding for ZeroMQ and all-round Slice of Heaven for C developers.; + description: @" +ZeroMQ \zeromq\: +- Connect your code in any language, on any platform. +- Carries messages across inproc, IPC, TCP, TPIC, multicast. +- Smart patterns like pub-sub, push-pull, and router-dealer. +- High-speed asynchronous I/O engines, in a tiny library. +- Backed by a large and active open source community. +- Supports every modern language and platform. +- Build any architecture: centralized, distributed, small, or large. +- Free software with full commercial support."; + releaseNotes: "Made a NuGet package."; + copyright: Copyright 2014; + tags: {0mq, zeromq, nuget, native; } + } + + files{ + #defines { + SDK_ROOT = ..\..\; + SDK_2010 = ..\msvc\; + } + include: { "${SDK_ROOT}include\*" }; + docs: { "${SDK_ROOT}doc\*.txt" }; + + [x64,v100,debug] { + lib: ${SDK_2010}Debug\libzmq.lib; + symbols: ${SDK_2010}Debug\libzmq.pdb; + } + + [x64,v100,release] { + lib: ${SDK_2010}Release\libzmq.lib; + } + + targets{ + Defines += HAS_CPP_ZMQ_SDK; + } + } +} + + diff --git a/builds/nuget/readme.nuget b/builds/nuget/readme.nuget new file mode 100644 index 00000000..365cffc9 --- /dev/null +++ b/builds/nuget/readme.nuget @@ -0,0 +1,12 @@ + +NuGet is a package management system for MS-Windows. +It is similar in spirit to tools like Maven or Gradle. + +It was originaly for .Net only packages but it has +recently been augmented to working with native packages. +http://docs.nuget.org/docs/reference/support-for-native-projects + +The instructions for building a NuGet package can be found here: +http://coapp.org/pages/tutorials.html + +