Skip to content

Commit

Permalink
Merge pull request pcwalton#1 from TechSmith/feature/nuget
Browse files Browse the repository at this point in the history
Feature/nuget
  • Loading branch information
adammarks committed Oct 20, 2014
2 parents 50c1834 + 8523beb commit be3284a
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ dlldata.c
*.svclog
*.scc

# Visual Studio output directories
Debug*/
Release*/
Win32/
x64*/
Lib/
buildwin/

# NuGet (Don't check in your packages! Use Package Restore!)
packages/
*.nupkg

# Visual C++ cache files
ipch/
*.aps
Expand Down Expand Up @@ -86,3 +98,4 @@ $RECYCLE.BIN/
# Mac crap
.DS_Store
xcuserdata

80 changes: 80 additions & 0 deletions vs2013/mp4v2.autopkg
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
nuget
{
nuspec
{
id = mp4v2;
version: 2.0.0.477;
title: MP4v2 Library;
authors: { TechSmith Corporation };
owners: { TechSmith Corporation };
licenseUrl: "http://www.mozilla.org/MPL/";
projectUrl: "https://github.com/TechSmith/mp4v2";
iconUrl: "http://www.techsmith.com/favicon.ico";
requireLicenseAcceptance: false;
summary: MP4v2 Library for use within TechSmith;
releaseNotes: "Pre-built package for MP4v2 Library";
description: @"The MP4v2 library provides an API to create and modify mp4 files as defined by ISO-IEC:14496-1:2001 MPEG-4 Systems. Code is derived from mp4v2 (https://code.google.com/p/mp4v2/).
copyright: "";
tags: { native, mp4v2, mp4, vs2013 };
};

files
{
#defines
{
MP4V2_LIB = ..\buildwin\lib.vs2013\;
}

nestedInclude: { #destination = ${d_include}mp4v2; ..\include\mp4v2\*.h };

pdb: { #output { package = redist; };
#destination = ${d_bin}; };

[x86,v120,debug]
{
lib: { ${MP4V2_LIB}Win32\Debug\*.lib; }
bin: { ${MP4V2_LIB}Win32\Debug\*.dll; }
pdb: { ${MP4V2_LIB}Win32\Debug\*.pdb; }
};

[x86,v120,release]
{
lib: { ${MP4V2_LIB}Win32\Release\*.lib; }
bin: { ${MP4V2_LIB}Win32\Release\*.dll; }
pdb: { ${MP4V2_LIB}Win32\Release\*.pdb; }
};

[x64,v120,debug]
{
lib: { ${MP4V2_LIB}x64\Debug\*.lib; }
bin: { ${MP4V2_LIB}x64\Debug\*.dll; }
pdb: { ${MP4V2_LIB}x64\Debug\*.pdb; }
};

[x64,v120,release]
{
lib: { ${MP4V2_LIB}x64\Release\*.lib; }
bin: { ${MP4V2_LIB}x64\Release\*.dll; }
pdb: { ${MP4V2_LIB}x64\Release\*.pdb; }
};
};

props
{
// Additional declarations to insert into consuming projects before most of the
// project settings. (These may be modified in visual studio by a developer
// consuming this package.)
// This node is typically not needed for most packages and may be omitted.
}

targets
{
// Additional declarations to insert into consuming projects after most of the
// project settings. (These may NOT be modified in visual studio by a developer
// consuming this package.)
// This node is often used to set defines that are required that must be set by
// the consuming project in order to correctly link to the libraries in this
// package. Such defines may be set either globally or only set under specific
// conditions.
}
}

0 comments on commit be3284a

Please sign in to comment.