From f010cabb44ecb00b41e57afec8574757362fc5bb Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Sat, 10 Oct 2015 13:32:40 -0700 Subject: scripts: Use /Z7 for NuGet package This avoids linker warning when building the final executable and we don't have to package the .PDB file. --- scripts/nuget.autopkg | 10 +++++----- scripts/pugixml_vs2015.vcxproj | 6 ++++++ 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'scripts') diff --git a/scripts/nuget.autopkg b/scripts/nuget.autopkg index 9f79eeb..dea71ab 100644 --- a/scripts/nuget.autopkg +++ b/scripts/nuget.autopkg @@ -1,7 +1,7 @@ nuget { nuspec { id = pugixml; - version: 1.7; + version: 1.7.1-alpha; title: pugixml; authors: {Arseny Kapoulkine}; owners: {Arseny Kapoulkine}; @@ -22,9 +22,9 @@ nuget { files { include: { "..\src\*.hpp" }; - [x86,release] { lib: vs2015\Win32_Release\pugixml.lib; symbols: vs2015\Win32_Release\pugixml.pdb; } - [x86,debug] { lib: vs2015\Win32_Debug\pugixml.lib; symbols: vs2015\Win32_Debug\pugixml.pdb; } - [x64,release] { lib: vs2015\x64_Release\pugixml.lib; symbols: vs2015\x64_Release\pugixml.pdb; } - [x64,debug] { lib: vs2015\x64_Debug\pugixml.lib; symbols: vs2015\x64_Debug\pugixml.pdb; } + [x86,release] { lib: vs2015\Win32_Release\pugixml.lib; } + [x86,debug] { lib: vs2015\Win32_Debug\pugixml.lib; } + [x64,release] { lib: vs2015\x64_Release\pugixml.lib; } + [x64,debug] { lib: vs2015\x64_Debug\pugixml.lib; } } } diff --git a/scripts/pugixml_vs2015.vcxproj b/scripts/pugixml_vs2015.vcxproj index 0788e19..e9b48f4 100644 --- a/scripts/pugixml_vs2015.vcxproj +++ b/scripts/pugixml_vs2015.vcxproj @@ -97,6 +97,8 @@ Disabled WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) $(IntDir)$(TargetName).pdb + OldStyle + false Windows @@ -111,6 +113,8 @@ Disabled _DEBUG;_LIB;%(PreprocessorDefinitions) $(IntDir)$(TargetName).pdb + OldStyle + false Windows @@ -127,6 +131,7 @@ true WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions) $(IntDir)$(TargetName).pdb + OldStyle Windows @@ -145,6 +150,7 @@ true NDEBUG;_LIB;%(PreprocessorDefinitions) $(IntDir)$(TargetName).pdb + OldStyle Windows -- cgit v1.2.3