summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-10-10 13:32:40 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-10-10 13:32:40 -0700
commitf010cabb44ecb00b41e57afec8574757362fc5bb (patch)
tree215a4f1b0c5f8bad139b39c25e328fe5b4cdc394 /scripts
parent537aea56c637b01ba72d4dec0b370cb8a00681b0 (diff)
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.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/nuget.autopkg10
-rw-r--r--scripts/pugixml_vs2015.vcxproj6
2 files changed, 11 insertions, 5 deletions
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 @@
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
+ <DebugInformationFormat>OldStyle</DebugInformationFormat>
+ <MinimalRebuild>false</MinimalRebuild>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -111,6 +113,8 @@
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
+ <DebugInformationFormat>OldStyle</DebugInformationFormat>
+ <MinimalRebuild>false</MinimalRebuild>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -127,6 +131,7 @@
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
+ <DebugInformationFormat>OldStyle</DebugInformationFormat>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -145,6 +150,7 @@
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
+ <DebugInformationFormat>OldStyle</DebugInformationFormat>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>