OLD | NEW |
(Empty) | |
| 1 @import @"version.inc"; |
| 2 |
| 3 configurations |
| 4 { |
| 5 // See https://github.com/coapp/coapp.powershell/issues/112 |
| 6 Toolset |
| 7 { |
| 8 key : "PlatformToolset"; // this is CoApp pre-defined key |
| 9 choices: { v140, v120, v110, v100 }; |
| 10 }; |
| 11 } |
| 12 |
| 13 #define { |
| 14 package-id = "grpc.dependencies.zlib"; |
| 15 } |
| 16 |
| 17 nuget { |
| 18 // the nuspec file metadata. Gets created/updated on build |
| 19 nuspec { |
| 20 id = ${package-id}; |
| 21 version : ${package-version}; |
| 22 title: gRPC Native Dependency: ZLib compression library; |
| 23 authors: {Jean-loup Gailly, Mark Adler, Garrett Serack, Tim Roge
rs}; |
| 24 owners: {Jan Tattermusch}; |
| 25 licenseUrl: "http://zlib.net/zlib-license.html"; |
| 26 projectUrl: "http://github.com/grpc/grpc"; |
| 27 iconUrl: "http://zlib.net/images/zlib3d-b1.png"; |
| 28 requireLicenseAcceptance:false; |
| 29 summary:A zlib library; |
| 30 description: @"A native zlib library. |
| 31 zlib homepage: http://zlib.net"; |
| 32 releaseNotes: "Release of zlib 1.2.8 libraries."; |
| 33 copyright: Copyright 2013; |
| 34 tags: { zlib, native, CoApp }; |
| 35 |
| 36 }; |
| 37 |
| 38 // the files that go into the content folders |
| 39 // (inserted into the nuspec file) |
| 40 files { |
| 41 // .targets file that are applied when redist package is installed f
rom a managed project. |
| 42 managed_build: { |
| 43 #output { |
| 44 package = redist; |
| 45 }; |
| 46 #destination = "\build\portable-net45+netcore45+wpa81+wp8"; |
| 47 "managed_targets\${package-id}.redist.targets"; |
| 48 }; |
| 49 |
| 50 include: { ..\..\..\third_party\zlib\zlib.h, ..\..\..\third_part
y\zlib\zconf.h }; |
| 51 |
| 52 docs: { ..\..\..\third_party\zlib\doc\**\* }; |
| 53 |
| 54 source += { |
| 55 "..\..\..\third_party\zlib\adler32.c", |
| 56 "..\..\..\third_party\zlib\compress.c", |
| 57 "..\..\..\third_party\zlib\crc32.c", |
| 58 "..\..\..\third_party\zlib\deflate.c", |
| 59 "..\..\..\third_party\zlib\gzclose.c", |
| 60 "..\..\..\third_party\zlib\gzlib.c", |
| 61 "..\..\..\third_party\zlib\gzread.c", |
| 62 "..\..\..\third_party\zlib\gzwrite.c", |
| 63 "..\..\..\third_party\zlib\infback.c", |
| 64 "..\..\..\third_party\zlib\inffast.c", |
| 65 "..\..\..\third_party\zlib\inflate.c", |
| 66 "..\..\..\third_party\zlib\inftrees.c", |
| 67 "..\..\..\third_party\zlib\trees.c", |
| 68 "..\..\..\third_party\zlib\uncompr.c", |
| 69 "..\..\..\third_party\zlib\zutil.c", |
| 70 "..\..\..\third_party\zlib\crc32.h", |
| 71 "..\..\..\third_party\zlib\deflate.h", |
| 72 "..\..\..\third_party\zlib\gzguts.h", |
| 73 "..\..\..\third_party\zlib\inffast.h", |
| 74 "..\..\..\third_party\zlib\inffixed.h", |
| 75 "..\..\..\third_party\zlib\inflate.h", |
| 76 "..\..\..\third_party\zlib\inftrees.h", |
| 77 "..\..\..\third_party\zlib\trees.h", |
| 78 "..\..\..\third_party\zlib\zconf.h", |
| 79 "..\..\..\third_party\zlib\zlib.h", |
| 80 "..\..\..\third_party\zlib\zutil.h", |
| 81 "..\..\..\third_party\zlib\contrib\masmx64\inffas8664.c", |
| 82 }; |
| 83 ("v100,v120,v140", "Win32,x64", "Release,Debug", "Dynamic", "cde
cl,stdcall", "MultiByte") => { |
| 84 [${0},${1},${2},${3},${4}] { |
| 85 lib: { .\output\${0}\${1}\${2}\${3}\${4}\${5
}\*.lib }; |
| 86 bin: { .\output\${0}\${1}\${2}\${3}\${4}\${5
}\*.dll }; |
| 87 symbols: { .\output\${0}\${1}\${2}\${3}\${4}\${5
}\*.pdb }; |
| 88 }; |
| 89 }; |
| 90 ("v100,v120,v140", "Win32,x64", "Release,Debug", "Static,ltcg",
"cdecl,stdcall", "MultiByte") => { |
| 91 [${0},${1},${2},${3},${4}] { |
| 92 lib: { .\output\${0}\${1}\${2}\${3}\${4}\${5
}\*.lib }; |
| 93 }; |
| 94 }; |
| 95 |
| 96 }; |
| 97 |
| 98 // the VC++ .targets file that gets generated and inserted into the ${d_
content} folder |
| 99 targets { |
| 100 Defines += HAS_ZLIB; |
| 101 [dynamic] |
| 102 Defines += ZLIB_DLL; |
| 103 [stdcall] |
| 104 Defines += ZLIB_WINAPI; |
| 105 |
| 106 }; |
| 107 } |
| 108 |
OLD | NEW |