|
| 1 | +configurations { |
| 2 | + Linkage { |
| 3 | + choices: { dynamic,static }; |
| 4 | + dynamic.description = "Dynamic MFC"; |
| 5 | + static.description = "Static MFC"; |
| 6 | + } |
| 7 | + |
| 8 | + Toolset { |
| 9 | + key : "PlatformToolset"; |
| 10 | + choices: { v140 }; |
| 11 | + }; |
| 12 | +} |
| 13 | + |
| 14 | +nuget |
| 15 | +{ |
| 16 | + nuspec |
| 17 | + { |
| 18 | + id = libyuv; |
| 19 | + version: 1.0.0.1; |
| 20 | + title: libyuv; |
| 21 | + authors: { Google Inc. }; |
| 22 | + owners: { Google Inc. }; |
| 23 | + licenseUrl: "https://chromium.googlesource.com/libyuv/libyuv/+/master/LICENSE"; |
| 24 | + projectUrl: "https://chromium.googlesource.com/libyuv/libyuv/+/master"; |
| 25 | + iconUrl: "https://www.google.com/favicon.ico"; |
| 26 | + requireLicenseAcceptance: false; |
| 27 | + summary: libyuv static library; |
| 28 | + releaseNotes: ""; |
| 29 | + description: @"libyuv static library for color conversion and other image manipulation" |
| 30 | + |
| 31 | + copyright: "Copyright 2011 The LibYuv Project Authors. All rights reserved."; |
| 32 | + tags: { native, static, vs2015, cpp, libyuv }; |
| 33 | + }; |
| 34 | + |
| 35 | + files |
| 36 | + { |
| 37 | + includeDir: { #destination = ${d_include}; Include\*.h; }; |
| 38 | + includeLibYUVDir: { #destination = ${d_include}\libyuv; Include\libyuv\*.h; }; |
| 39 | + libpdb: { #destination = ${d_lib}; }; |
| 40 | + |
| 41 | + [x86,v140,debug,dynamic] |
| 42 | + { |
| 43 | + lib: { debug\win32\*.lib; } |
| 44 | + libpdb: { debug\win32\*.pdb; } |
| 45 | + }; |
| 46 | + [x86,v140,release,dynamic] |
| 47 | + { |
| 48 | + lib: { release\win32\*.lib; } |
| 49 | + libpdb: { release\win32\*.pdb; } |
| 50 | + }; |
| 51 | + [x64,v140,debug,dynamic] |
| 52 | + { |
| 53 | + lib: { debug\x64\*.lib; } |
| 54 | + libpdb: { debug\x64\*.pdb; } |
| 55 | + }; |
| 56 | + [x64,v140,release,dynamic] |
| 57 | + { |
| 58 | + lib: { release\x64\*.lib; } |
| 59 | + libpdb: { release\x64\*.pdb; } |
| 60 | + }; |
| 61 | + [x86,v140,debug,static] |
| 62 | + { |
| 63 | + lib: { debug\win32\*.lib; } |
| 64 | + libpdb: { debug\win32\*.pdb; } |
| 65 | + }; |
| 66 | + [x86,v140,release,static] |
| 67 | + { |
| 68 | + lib: { release\win32\*.lib; } |
| 69 | + libpdb: { release\win32\*.pdb; } |
| 70 | + }; |
| 71 | + [x64,v140,debug,static] |
| 72 | + { |
| 73 | + lib: { debug\x64\*.lib; } |
| 74 | + libpdb: { debug\x64\*.pdb; } |
| 75 | + }; |
| 76 | + [x64,v140,release,static] |
| 77 | + { |
| 78 | + lib: { release\x64\*.lib; } |
| 79 | + libpdb: { release\x64\*.pdb; } |
| 80 | + }; |
| 81 | + }; |
| 82 | + |
| 83 | + props |
| 84 | + { |
| 85 | + // Additional declarations to insert into consuming projects before most of the |
| 86 | + // project settings. (These may be modified in visual studio by a developer |
| 87 | + // consuming this package.) |
| 88 | + // This node is typically not needed for most packages and may be omitted. |
| 89 | + } |
| 90 | + |
| 91 | + targets |
| 92 | + { |
| 93 | + // Additional declarations to insert into consuming projects after most of the |
| 94 | + // project settings. (These may NOT be modified in visual studio by a developer |
| 95 | + // consuming this package.) |
| 96 | + // This node is often used to set defines that are required that must be set by |
| 97 | + // the consuming project in order to correctly link to the libraries in this |
| 98 | + // package. Such defines may be set either globally or only set under specific |
| 99 | + // conditions. |
| 100 | + } |
| 101 | +} |
0 commit comments