From a7c4070df74e4d62cc8031ae5de9f892fe914bfc Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Sun, 18 Jun 2017 23:41:12 -0700 Subject: scripts: Switch to manual NuGet package with both CRT linkages We'd like to build pugixml with both static & dynamic CRT and put it all in one NuGet package. CoApp sort of allows us to do this via dynamic/static pivots, but it does not let us customize the names of the pivots and additionally has some bugs with the project setup. Their project modifications are also much more complicated - really, at this point we should do this ourselves. Create a simple native NuGet package with Linkage setting that picks the right library, and package all libraries appropriately. Note that we use the unified path syntax to make it simple to just get the right .lib file from the toolset/platform/configuration/linkage combo. --- scripts/nuget.autopkg | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 scripts/nuget.autopkg (limited to 'scripts/nuget.autopkg') diff --git a/scripts/nuget.autopkg b/scripts/nuget.autopkg deleted file mode 100644 index 27f0ec8..0000000 --- a/scripts/nuget.autopkg +++ /dev/null @@ -1,46 +0,0 @@ -configurations { - Toolset { - key: "PlatformToolset"; - choices: { v141, v140, v120, v110, v100 }; - } -} -nuget { - nuspec { - id = pugixml; - version: 1.8.0-appveyor; - - authors: {Arseny Kapoulkine}; - owners: {Arseny Kapoulkine}; - - projectUrl: "http://pugixml.org/"; - iconUrl: "https://github.com/zeux/pugixml/logo.svg"; - - title: pugixml; - summary: "Light-weight, simple and fast XML parser for C++ with XPath support"; - releaseNotes: "http://pugixml.org/docs/manual.html#changes"; - copyright: "Copyright (c) 2006-2017 Arseny Kapoulkine"; - licenseUrl: "http://pugixml.org/license.html"; - requireLicenseAcceptance: false; - - description: @"pugixml is a C++ XML processing library, which consists of a DOM-like interface with rich traversal/modification capabilities, an extremely fast XML parser which constructs the DOM tree from an XML file/buffer, and an XPath 1.0 implementation for complex data-driven tree queries. Full Unicode support is also available, with Unicode interface variants and conversions between different Unicode encodings (which happen automatically during parsing/saving). - pugixml is used by a lot of projects, both open-source and proprietary, for performance and easy-to-use interface."; - - tags: { native }; - } - files { - include: { "..\src\*.hpp" }; - - [x86,v120,release] { lib: vs2013\x32\pugixmls.lib; } - [x86,v120,debug] { lib: vs2013\x32\pugixmlsd.lib; } - [x64,v120,release] { lib: vs2013\x64\pugixmls.lib; } - [x64,v120,debug] { lib: vs2013\x64\pugixmlsd.lib; } - [x86,v140,release] { lib: vs2015\Win32_Release\pugixml.lib; } - [x86,v140,debug] { lib: vs2015\Win32_Debug\pugixml.lib; } - [x64,v140,release] { lib: vs2015\x64_Release\pugixml.lib; } - [x64,v140,debug] { lib: vs2015\x64_Debug\pugixml.lib; } - [x86,v141,release] { lib: vs2017\Win32_Release\pugixml.lib; } - [x86,v141,debug] { lib: vs2017\Win32_Debug\pugixml.lib; } - [x64,v141,release] { lib: vs2017\x64_Release\pugixml.lib; } - [x64,v141,debug] { lib: vs2017\x64_Debug\pugixml.lib; } - } -} -- cgit v1.2.3