Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //To execute from the command line: PS> Write-NuGetPackage .\couchbase.autopkg -define:BUILDVERSION=1
- ######BEGIN FILE############################3
- nuget {
- nuspec {
- id = CouchbaseCSDK;
- version : 2.5.6.${BUILDVERSION};
- title: "Couchbase C/C++ SDK";
- authors: {"Couchbase Folks"};
- owners: {"Couchbase Folks"};
- licenseUrl: "http://www.apache.org/licenses/LICENSE-2.0";
- projectUrl: "http://developer.couchbase.com/documentation/server/4.1/sdks/c-2.4/c-intro.html";
- iconUrl: "http://developer.couchbase.com/images/couchbase_favicon_0.ico";
- requireLicenseAcceptance:false;
- summary:"";
- // if you need to span several lines you can prefix a string with an @ symbol (exactly like c# does).
- description: @"";
- releaseNotes: @"http://developer.couchbase.com/documentation/server/4.1/sdks/c-2.4/release-notes.html";
- copyright: "Copyright 2016 Couchbase Folks";
- tags: { native, coapp, http, couchbase };
- language: en-US;
- };
- dependencies {
- packages : {
- //TODO: Add dependecies here in [pkg.name]/[version] form per newline
- //zlib/[1.2.8],
- };
- }
- // the files that go into the content folders
- files {
- #defines {
- SDK_ROOT = .\;
- }
- // grab all the files in the include folder
- // the folder that contains all the .h files will
- // automatically get added to the Includes path.
- include: {
- "${SDK_ROOT}include\**\*.h",
- };
- // Documents that we want to ship with the package.
- docs: { "${SDK_ROOT}share\**\*.*" };
- // these declarations of lib, symbols and bin folders only apply
- // to the project when:
- // $(Platform) == x64 | x86
- // $(PlatformToolset) == v120
- // $(Configuration) == Release
- // $(Linkage) = Dynamic | Static
- //${SDK_2012}x64\Release\EQCore\eqcore.pdb
- [v110,x64,release,desktop] {
- lib: { ${SDK_ROOT}lib\libcouchbase.lib };
- }
- [v110,x86,release,desktop] {
- lib: { ${SDK_ROOT}lib_x86\libcouchbase.lib };
- }
- [v110,x64,debug,desktop] {
- //${SDK_2012}x64\Debug\EQCore\eqcore.pdb
- lib: { ${SDK_ROOT}lib\libcouchbase_d.lib };
- }
- [v110,x86,debug,desktop] {
- //${SDK_2012}Win32\Release\EQCore\eqcore.pdb
- lib: { ${SDK_ROOT}lib_x86\libcouchbase_d.lib };
- }
- };
- targets {
- // We're trying to be standard about these sorts of thing. (Will help with config.h later :D)
- Defines += HAS_COUCHBASE;
- };
- }
Add Comment
Please, Sign In to add comment