From 99cf8e712db23828e7b13614e132b4e1afe7d8f6 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Fri, 27 Apr 2018 15:52:37 -0700 Subject: [PATCH] Add nuget build files --- .gitignore | 1 + nuget/directxtex_desktop_2015.nuspec | 44 +++++++++++++++++++++++ nuget/directxtex_desktop_2015.targets | 22 ++++++++++++ nuget/directxtex_uwp.nuspec | 50 +++++++++++++++++++++++++++ nuget/directxtex_uwp.targets | 22 ++++++++++++ 5 files changed, 139 insertions(+) create mode 100644 nuget/directxtex_desktop_2015.nuspec create mode 100644 nuget/directxtex_desktop_2015.targets create mode 100644 nuget/directxtex_uwp.nuspec create mode 100644 nuget/directxtex_uwp.targets diff --git a/.gitignore b/.gitignore index f007381..cb44c87 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ *.lastbuildstate *.ilk *.VC.db +*.nupkg .vs Bin /ipch diff --git a/nuget/directxtex_desktop_2015.nuspec b/nuget/directxtex_desktop_2015.nuspec new file mode 100644 index 0000000..2c38fc3 --- /dev/null +++ b/nuget/directxtex_desktop_2015.nuspec @@ -0,0 +1,44 @@ + + + + directxtex_desktop_2015 + 0.0.0-SpecifyVersionOnCommandline + DirectXTex Library (VS 2015/VS 2017 Win32) + Microsoft + microsoft,directxtk + DirectXTex texture processing library + This version is for Windows desktop applications using Visual Studio 2015 Update 3 or Visual Studio 2017. + +DirectXTex, a shared source library for reading and writing .DDS files, and performing various texture content processing operations including resizing, format conversion, mip-map generation, block compression for Direct3D runtime texture resources, and height-map to normal-map conversion. This library makes use of the Windows Image Component (WIC) APIs. It also includes simple .TGA and .HDR readers and writers since these image file format are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec. + Matches the April 23, 2018 release on GitHub. + http://go.microsoft.com/fwlink/?LinkId=248926 + https://github.com/Microsoft/DirectXTex/wiki/X_jpg.jpg + http://opensource.org/licenses/MIT + false + © Microsoft Corporation. All rights reserved. + DirectX DirectXTex native nativepackage + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/nuget/directxtex_desktop_2015.targets b/nuget/directxtex_desktop_2015.targets new file mode 100644 index 0000000..4728a20 --- /dev/null +++ b/nuget/directxtex_desktop_2015.targets @@ -0,0 +1,22 @@ + + + + + $(MSBuildThisFileDirectory)..\..\lib\$(Platform)\$(Configuration) + + + + + $(directxtex-LibPath);%(AdditionalLibraryDirectories) + DirectXTex.lib;%(AdditionalDependencies) + + + + + + HAS_DIRECTXTEX;%(PreprocessorDefinitions) + $(MSBuildThisFileDirectory)..\..\include;%(AdditionalIncludeDirectories) + + + + diff --git a/nuget/directxtex_uwp.nuspec b/nuget/directxtex_uwp.nuspec new file mode 100644 index 0000000..758055b --- /dev/null +++ b/nuget/directxtex_uwp.nuspec @@ -0,0 +1,50 @@ + + + + directxtex_uwp + 0.0.0-SpecifyVersionOnCommandline + DirectXTex Library (UWP) + Microsoft + microsoft,directxtk + DirectXTex texture processing library + This version is for Universal Windows apps on Windows 10 using Visual Studio 2015 Update 3 or Visual Studio 2017. + +DirectXTex, a shared source library for reading and writing .DDS files, and performing various texture content processing operations including resizing, format conversion, mip-map generation, block compression for Direct3D runtime texture resources, and height-map to normal-map conversion. This library makes use of the Windows Image Component (WIC) APIs. It also includes simple .TGA and .HDR readers and writers since these image file format are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec. + Matches the April 23, 2018 release on GitHub. + http://go.microsoft.com/fwlink/?LinkId=248926 + https://github.com/Microsoft/DirectXTex/wiki/X_jpg.jpg + http://opensource.org/licenses/MIT + false + © Microsoft Corporation. All rights reserved. + DirectX DirectXTex native nativepackage + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/nuget/directxtex_uwp.targets b/nuget/directxtex_uwp.targets new file mode 100644 index 0000000..4728a20 --- /dev/null +++ b/nuget/directxtex_uwp.targets @@ -0,0 +1,22 @@ + + + + + $(MSBuildThisFileDirectory)..\..\lib\$(Platform)\$(Configuration) + + + + + $(directxtex-LibPath);%(AdditionalLibraryDirectories) + DirectXTex.lib;%(AdditionalDependencies) + + + + + + HAS_DIRECTXTEX;%(PreprocessorDefinitions) + $(MSBuildThisFileDirectory)..\..\include;%(AdditionalIncludeDirectories) + + + +