diff --git a/.gitignore b/.gitignore index b9fd950..dc6d42b 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ *.lastbuildstate *.ilk *.VC.db +*.nupkg .vs Bin /ipch diff --git a/.nuget/icon.jpg b/.nuget/icon.jpg new file mode 100644 index 0000000..08fe1fa Binary files /dev/null and b/.nuget/icon.jpg differ diff --git a/.nuget/signconfig_desktop.xml b/.nuget/signconfig_desktop.xml new file mode 100644 index 0000000..4777417 --- /dev/null +++ b/.nuget/signconfig_desktop.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/.nuget/uvatlas_desktop_2017.nuspec b/.nuget/uvatlas_desktop_2017.nuspec new file mode 100644 index 0000000..e319032 --- /dev/null +++ b/.nuget/uvatlas_desktop_2017.nuspec @@ -0,0 +1,45 @@ + + + + uvatlas_desktop_2017 + 0.0.0-SpecifyVersionOnCommandline + UVAtlas Library (VS 2017/2019 Win32) + Microsoft + microsoft,directxtk + UVAtlas Isochart library + This version is for Windows desktop applications using Visual Studio 2017 or Visual Studio 2019. + +UVAtlas, a shared source library for creating and packing an isochart texture atlas. + Matches the February 14, 2020 release on GitHub. + http://go.microsoft.com/fwlink/?LinkID=512686 + images\icon.jpg + MIT + false + © Microsoft Corporation. All rights reserved. + DirectX UVAtlas native nativepackage + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.nuget/uvatlas_desktop_2017.targets b/.nuget/uvatlas_desktop_2017.targets new file mode 100644 index 0000000..7ed5c79 --- /dev/null +++ b/.nuget/uvatlas_desktop_2017.targets @@ -0,0 +1,29 @@ + + + + + Debug + + + Release + + + + $(MSBuildThisFileDirectory)..\..\native\lib\$(Platform)\$(NuGetConfiguration) + + + + + $(uvatlas-LibPath);%(AdditionalLibraryDirectories) + UVAtlas.lib;%(AdditionalDependencies) + + + + + + HAS_UVATLAS;%(PreprocessorDefinitions) + $(MSBuildThisFileDirectory)..\..\include;%(AdditionalIncludeDirectories) + + + + diff --git a/.nuget/versioninfo.ps1 b/.nuget/versioninfo.ps1 new file mode 100644 index 0000000..8bd519d --- /dev/null +++ b/.nuget/versioninfo.ps1 @@ -0,0 +1,7 @@ +param( +[string]$version +) +$file = 'UVAtlasTool\uvatlas.rc' +$versionComma = $version.Replace(".", ",") +(Get-Content $file).replace('1,0,0,0', $versionComma).replace('1.0.0.0', $version) | Set-Content $file +(Get-Content $file) \ No newline at end of file