summaryrefslogtreecommitdiff
path: root/projects/settingsgen_vs142.vcxproj
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2020-05-17 23:32:01 +0200
committerMichael Lutz <michi@icosahedron.de>2020-05-21 20:02:34 +0200
commit8aef14386fc403ee631f176abf0ec86af7dcd37b (patch)
tree7cafaed2c1637e933db7bdd97fa0a621920ce3b2 /projects/settingsgen_vs142.vcxproj
parent63ccb36ef3ecd53a503c0e9fea87f0784802af0f (diff)
downloadopenttd-8aef14386fc403ee631f176abf0ec86af7dcd37b.tar.xz
Add: Optional implementation of std::optional for pre-C++17 compilers.
Sourced from https://github.com/akrzemi1/Optional, Boost Software License, Version 1.0.
Diffstat (limited to 'projects/settingsgen_vs142.vcxproj')
-rw-r--r--projects/settingsgen_vs142.vcxproj1
1 files changed, 1 insertions, 0 deletions
diff --git a/projects/settingsgen_vs142.vcxproj b/projects/settingsgen_vs142.vcxproj
index 23a4e1856..fb2f7a731 100644
--- a/projects/settingsgen_vs142.vcxproj
+++ b/projects/settingsgen_vs142.vcxproj
@@ -39,6 +39,7 @@
<Inputs>%(Inputs)</Inputs>
</CustomBuildStep>
<ClCompile>
+ <AdditionalOptions>/std:c++latest /Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<Optimization>MinSpace</Optimization>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<PreprocessorDefinitions>SETTINGSGEN;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>