summaryrefslogtreecommitdiff
path: root/scripts/pugixml_vs2017_static.vcxproj
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-08-18 21:40:49 +0100
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-08-18 21:44:47 +0100
commitf423cec11ba2b91a9c72b6b7c7de246044bc4164 (patch)
tree1785d74c3ce251601b4fb3055a63ea80f8b99f96 /scripts/pugixml_vs2017_static.vcxproj
parent77d7e603792756da519ae2b7b3de1131fd0e6819 (diff)
scripts: Disable LTCG for VS2017
Using LTCG restricts the resulting .lib files to a specific compiler version, causing version conflicts when the compiler gets updated without changing the toolset version. VS2017 now has two incompatible compilers, 15.0 and 15.3, both of which use toolset v141...
Diffstat (limited to 'scripts/pugixml_vs2017_static.vcxproj')
-rw-r--r--scripts/pugixml_vs2017_static.vcxproj4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/pugixml_vs2017_static.vcxproj b/scripts/pugixml_vs2017_static.vcxproj
index 68a862f..327ee69 100644
--- a/scripts/pugixml_vs2017_static.vcxproj
+++ b/scripts/pugixml_vs2017_static.vcxproj
@@ -35,7 +35,7 @@
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
- <WholeProgramOptimization>true</WholeProgramOptimization>
+ <WholeProgramOptimization>false</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
@@ -48,7 +48,7 @@
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
- <WholeProgramOptimization>true</WholeProgramOptimization>
+ <WholeProgramOptimization>false</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />