mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-04 07:27:23 +01:00
Add targets to Nuget packages
This commit is contained in:
parent
4f292ae0ce
commit
df63ac480e
@ -955,21 +955,24 @@ ext.commonNuspecMetadata = [
|
|||||||
copyright: 'Applied Informatics copyright 2018',
|
copyright: 'Applied Informatics copyright 2018',
|
||||||
requireLicenseAcceptance: false,
|
requireLicenseAcceptance: false,
|
||||||
description: 'Modern, powerful open source C++ class libraries for building network- and internet-based applications that run on desktop, server, mobile and embedded systems.',
|
description: 'Modern, powerful open source C++ class libraries for building network- and internet-based applications that run on desktop, server, mobile and embedded systems.',
|
||||||
tags: 'string filesystem thread date log event regex uri uuid cache native nativepackage sockets mime http ftp mail pop3 smtp html sax sax2 dom xml'
|
tags: 'natif string filesystem thread date log event regex uri uuid cache native nativepackage sockets mime http ftp mail pop3 smtp html sax sax2 dom xml',
|
||||||
|
copyright: 'Copyright 2018',
|
||||||
|
releaseNotes: 'releaseNotes'
|
||||||
]
|
]
|
||||||
task 'nugetSpec-x86'(type: NuGetSpec) {
|
task 'nugetSpec-x86'(type: NuGetSpec) {
|
||||||
nuspec = [
|
nuspec = [
|
||||||
metadata: commonNuspecMetadata + [
|
metadata: commonNuspecMetadata + [
|
||||||
id: "Pocoproject.Poco.vs150.x86",
|
id: "Pocoproject.Poco.vs150.x86",
|
||||||
title: "Pocoproject Poco vs150 $version x86",
|
title: "Pocoproject Poco vs150 $version x86",
|
||||||
dependencies: [
|
dependencies: [ { dependency(id: "Pocoproject.OpenSSL.vs120.x86", version: "1.1.0") } ]
|
||||||
]
|
|
||||||
],
|
],
|
||||||
files: [
|
files: [
|
||||||
|
{ file(src: "$rootDir\\packaging\\Windows\\NuGet\\Pocoproject.Poco.vs150.x86.targets", target: "build\\native") },
|
||||||
{ file(src: "$rootDir\\bin\\Poco*.*", target: "build\\native\\bin", exclude: "$rootDir\\bin\\*CppParser*.*") },
|
{ file(src: "$rootDir\\bin\\Poco*.*", target: "build\\native\\bin", exclude: "$rootDir\\bin\\*CppParser*.*") },
|
||||||
{ file(src: "$rootDir\\lib\\Poco*.*", target: "build\\native\\lib", exclude: "$rootDir\\bin\\*CppParser*.*") },
|
{ file(src: "$rootDir\\lib\\Poco*.*", target: "build\\native\\lib", exclude: "$rootDir\\bin\\*CppParser*.*") },
|
||||||
{ file(src: "$rootDir\\bin\\Poco*d.*", target: "build\\native\\bin", exclude: "$rootDir\\bin\\*CppParser*.*") },
|
{ file(src: "$rootDir\\bin\\Poco*d.*", target: "build\\native\\bin", exclude: "$rootDir\\bin\\*CppParser*.*") },
|
||||||
{ file(src: "$rootDir\\lib\\Poco*d.*", target: "build\\native\\lib", exclude: "$rootDir\\bin\\*CppParser*.*") },
|
{ file(src: "$rootDir\\lib\\Poco*d.*", target: "build\\native\\lib", exclude: "$rootDir\\bin\\*CppParser*.*") },
|
||||||
|
{ file(src: "$rootDir\\CppUnit\\include\\**", target: "build\\native\\inc") },
|
||||||
{ file(src: "$rootDir\\Foundation\\include\\**", target: "build\\native\\inc") },
|
{ file(src: "$rootDir\\Foundation\\include\\**", target: "build\\native\\inc") },
|
||||||
{ file(src: "$rootDir\\Crypto\\include\\**", target: "build\\native\\inc") },
|
{ file(src: "$rootDir\\Crypto\\include\\**", target: "build\\native\\inc") },
|
||||||
{ file(src: "$rootDir\\Data\\MySQL\\include\\**", target: "build\\native\\inc") },
|
{ file(src: "$rootDir\\Data\\MySQL\\include\\**", target: "build\\native\\inc") },
|
||||||
@ -996,14 +999,15 @@ task 'nugetSpec-x64'(type: NuGetSpec) {
|
|||||||
metadata: commonNuspecMetadata + [
|
metadata: commonNuspecMetadata + [
|
||||||
id: "Pocoproject.Poco.vs150.x64",
|
id: "Pocoproject.Poco.vs150.x64",
|
||||||
title: "Pocoproject Poco vs150 $version x64",
|
title: "Pocoproject Poco vs150 $version x64",
|
||||||
dependencies: [
|
dependencies: [ { dependency(id: "Pocoproject.OpenSSL.vs120.x64", version: "1.1.0") } ]
|
||||||
]
|
|
||||||
],
|
],
|
||||||
files: [
|
files: [
|
||||||
|
{ file(src: "$rootDir\\packaging\\Windows\\NuGet\\Pocoproject.Poco.vs150.x64.targets", target: "build\\native") },
|
||||||
{ file(src: "$rootDir\\bin64\\Poco*64.*", target: "build\\native\\bin64", exclude: "$rootDir\\bin\\*CppParser*.*") },
|
{ file(src: "$rootDir\\bin64\\Poco*64.*", target: "build\\native\\bin64", exclude: "$rootDir\\bin\\*CppParser*.*") },
|
||||||
{ file(src: "$rootDir\\lib64\\Poco*.*", target: "build\\native\\lib64", exclude: "$rootDir\\bin\\*CppParser*.*") },
|
{ file(src: "$rootDir\\lib64\\Poco*.*", target: "build\\native\\lib64", exclude: "$rootDir\\bin\\*CppParser*.*") },
|
||||||
{ file(src: "$rootDir\\bin64\\Poco*64d.*", target: "build\\native\\bin64", exclude: "$rootDir\\bin\\*CppParser*.*") },
|
{ file(src: "$rootDir\\bin64\\Poco*64d.*", target: "build\\native\\bin64", exclude: "$rootDir\\bin\\*CppParser*.*") },
|
||||||
{ file(src: "$rootDir\\lib64\\Poco*d.*", target: "build\\native\\lib64", exclude: "$rootDir\\bin\\*CppParser*.*") },
|
{ file(src: "$rootDir\\lib64\\Poco*d.*", target: "build\\native\\lib64", exclude: "$rootDir\\bin\\*CppParser*.*") },
|
||||||
|
{ file(src: "$rootDir\\CppUnit\\include\\**", target: "build\\native\\inc") },
|
||||||
{ file(src: "$rootDir\\Foundation\\include\\**", target: "build\\native\\inc") },
|
{ file(src: "$rootDir\\Foundation\\include\\**", target: "build\\native\\inc") },
|
||||||
{ file(src: "$rootDir\\Crypto\\include\\**", target: "build\\native\\inc") },
|
{ file(src: "$rootDir\\Crypto\\include\\**", target: "build\\native\\inc") },
|
||||||
{ file(src: "$rootDir\\Data\\MySQL\\include\\**", target: "build\\native\\inc") },
|
{ file(src: "$rootDir\\Data\\MySQL\\include\\**", target: "build\\native\\inc") },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user