From 8aef14386fc403ee631f176abf0ec86af7dcd37b Mon Sep 17 00:00:00 2001 From: Michael Lutz Date: Sun, 17 May 2020 23:32:01 +0200 Subject: Add: Optional implementation of std::optional for pre-C++17 compilers. Sourced from https://github.com/akrzemi1/Optional, Boost Software License, Version 1.0. --- projects/openttd_vs140.vcxproj | 2 ++ projects/openttd_vs140.vcxproj.filters | 57 ++++++++++++++++++++-------------- projects/openttd_vs141.vcxproj | 2 ++ projects/openttd_vs141.vcxproj.filters | 57 ++++++++++++++++++++-------------- projects/openttd_vs142.vcxproj | 10 +++--- projects/openttd_vs142.vcxproj.filters | 57 ++++++++++++++++++++-------------- projects/openttd_vs142.vcxproj.in | 8 ++--- projects/settingsgen_vs142.vcxproj | 1 + 8 files changed, 114 insertions(+), 80 deletions(-) (limited to 'projects') diff --git a/projects/openttd_vs140.vcxproj b/projects/openttd_vs140.vcxproj index 6453d62b8..4e7f7b7c8 100644 --- a/projects/openttd_vs140.vcxproj +++ b/projects/openttd_vs140.vcxproj @@ -974,6 +974,8 @@ + + diff --git a/projects/openttd_vs140.vcxproj.filters b/projects/openttd_vs140.vcxproj.filters index 0405740d4..fd5c07157 100644 --- a/projects/openttd_vs140.vcxproj.filters +++ b/projects/openttd_vs140.vcxproj.filters @@ -28,78 +28,81 @@ {c76ff9f1-1e62-46d8-8d55-000000000008} - + {c76ff9f1-1e62-46d8-8d55-000000000009} - + {c76ff9f1-1e62-46d8-8d55-000000000010} - + {c76ff9f1-1e62-46d8-8d55-000000000011} - + {c76ff9f1-1e62-46d8-8d55-000000000012} - + {c76ff9f1-1e62-46d8-8d55-000000000013} - + {c76ff9f1-1e62-46d8-8d55-000000000014} - + {c76ff9f1-1e62-46d8-8d55-000000000015} - + {c76ff9f1-1e62-46d8-8d55-000000000016} - + {c76ff9f1-1e62-46d8-8d55-000000000017} - + {c76ff9f1-1e62-46d8-8d55-000000000018} - + {c76ff9f1-1e62-46d8-8d55-000000000019} - + {c76ff9f1-1e62-46d8-8d55-000000000020} - + {c76ff9f1-1e62-46d8-8d55-000000000021} - + {c76ff9f1-1e62-46d8-8d55-000000000022} - + {c76ff9f1-1e62-46d8-8d55-000000000023} - + {c76ff9f1-1e62-46d8-8d55-000000000024} - + {c76ff9f1-1e62-46d8-8d55-000000000025} - + {c76ff9f1-1e62-46d8-8d55-000000000026} - + {c76ff9f1-1e62-46d8-8d55-000000000027} - + {c76ff9f1-1e62-46d8-8d55-000000000028} - + {c76ff9f1-1e62-46d8-8d55-000000000029} - + {c76ff9f1-1e62-46d8-8d55-000000000030} - + {c76ff9f1-1e62-46d8-8d55-000000000031} - + {c76ff9f1-1e62-46d8-8d55-000000000032} + + {c76ff9f1-1e62-46d8-8d55-000000000033} + @@ -2010,6 +2013,12 @@ MD5 + + Compat + + + Compat + Script diff --git a/projects/openttd_vs141.vcxproj b/projects/openttd_vs141.vcxproj index ecfed4a03..4ab1ad85d 100644 --- a/projects/openttd_vs141.vcxproj +++ b/projects/openttd_vs141.vcxproj @@ -974,6 +974,8 @@ + + diff --git a/projects/openttd_vs141.vcxproj.filters b/projects/openttd_vs141.vcxproj.filters index 0405740d4..fd5c07157 100644 --- a/projects/openttd_vs141.vcxproj.filters +++ b/projects/openttd_vs141.vcxproj.filters @@ -28,78 +28,81 @@ {c76ff9f1-1e62-46d8-8d55-000000000008} - + {c76ff9f1-1e62-46d8-8d55-000000000009} - + {c76ff9f1-1e62-46d8-8d55-000000000010} - + {c76ff9f1-1e62-46d8-8d55-000000000011} - + {c76ff9f1-1e62-46d8-8d55-000000000012} - + {c76ff9f1-1e62-46d8-8d55-000000000013} - + {c76ff9f1-1e62-46d8-8d55-000000000014} - + {c76ff9f1-1e62-46d8-8d55-000000000015} - + {c76ff9f1-1e62-46d8-8d55-000000000016} - + {c76ff9f1-1e62-46d8-8d55-000000000017} - + {c76ff9f1-1e62-46d8-8d55-000000000018} - + {c76ff9f1-1e62-46d8-8d55-000000000019} - + {c76ff9f1-1e62-46d8-8d55-000000000020} - + {c76ff9f1-1e62-46d8-8d55-000000000021} - + {c76ff9f1-1e62-46d8-8d55-000000000022} - + {c76ff9f1-1e62-46d8-8d55-000000000023} - + {c76ff9f1-1e62-46d8-8d55-000000000024} - + {c76ff9f1-1e62-46d8-8d55-000000000025} - + {c76ff9f1-1e62-46d8-8d55-000000000026} - + {c76ff9f1-1e62-46d8-8d55-000000000027} - + {c76ff9f1-1e62-46d8-8d55-000000000028} - + {c76ff9f1-1e62-46d8-8d55-000000000029} - + {c76ff9f1-1e62-46d8-8d55-000000000030} - + {c76ff9f1-1e62-46d8-8d55-000000000031} - + {c76ff9f1-1e62-46d8-8d55-000000000032} + + {c76ff9f1-1e62-46d8-8d55-000000000033} + @@ -2010,6 +2013,12 @@ MD5 + + Compat + + + Compat + Script diff --git a/projects/openttd_vs142.vcxproj b/projects/openttd_vs142.vcxproj index 49858a3e1..2539fe1d5 100644 --- a/projects/openttd_vs142.vcxproj +++ b/projects/openttd_vs142.vcxproj @@ -100,7 +100,7 @@ - /J /Zc:throwingNew /std:c++latest %(AdditionalOptions) + /J /Zc:throwingNew /std:c++latest /Zc:__cplusplus %(AdditionalOptions) Full AnySuitable true @@ -168,7 +168,7 @@ - /J /Zc:throwingNew /std:c++latest %(AdditionalOptions) + /J /Zc:throwingNew /std:c++latest /Zc:__cplusplus %(AdditionalOptions) Disabled true ..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories) @@ -223,7 +223,7 @@ - /J /Zc:throwingNew /std:c++latest %(AdditionalOptions) + /J /Zc:throwingNew /std:c++latest /Zc:__cplusplus %(AdditionalOptions) Full AnySuitable true @@ -289,7 +289,7 @@ - /J /Zc:throwingNew /std:c++latest %(AdditionalOptions) + /J /Zc:throwingNew /std:c++latest /Zc:__cplusplus %(AdditionalOptions) Disabled true ..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories) @@ -974,6 +974,8 @@ + + diff --git a/projects/openttd_vs142.vcxproj.filters b/projects/openttd_vs142.vcxproj.filters index 0405740d4..fd5c07157 100644 --- a/projects/openttd_vs142.vcxproj.filters +++ b/projects/openttd_vs142.vcxproj.filters @@ -28,78 +28,81 @@ {c76ff9f1-1e62-46d8-8d55-000000000008} - + {c76ff9f1-1e62-46d8-8d55-000000000009} - + {c76ff9f1-1e62-46d8-8d55-000000000010} - + {c76ff9f1-1e62-46d8-8d55-000000000011} - + {c76ff9f1-1e62-46d8-8d55-000000000012} - + {c76ff9f1-1e62-46d8-8d55-000000000013} - + {c76ff9f1-1e62-46d8-8d55-000000000014} - + {c76ff9f1-1e62-46d8-8d55-000000000015} - + {c76ff9f1-1e62-46d8-8d55-000000000016} - + {c76ff9f1-1e62-46d8-8d55-000000000017} - + {c76ff9f1-1e62-46d8-8d55-000000000018} - + {c76ff9f1-1e62-46d8-8d55-000000000019} - + {c76ff9f1-1e62-46d8-8d55-000000000020} - + {c76ff9f1-1e62-46d8-8d55-000000000021} - + {c76ff9f1-1e62-46d8-8d55-000000000022} - + {c76ff9f1-1e62-46d8-8d55-000000000023} - + {c76ff9f1-1e62-46d8-8d55-000000000024} - + {c76ff9f1-1e62-46d8-8d55-000000000025} - + {c76ff9f1-1e62-46d8-8d55-000000000026} - + {c76ff9f1-1e62-46d8-8d55-000000000027} - + {c76ff9f1-1e62-46d8-8d55-000000000028} - + {c76ff9f1-1e62-46d8-8d55-000000000029} - + {c76ff9f1-1e62-46d8-8d55-000000000030} - + {c76ff9f1-1e62-46d8-8d55-000000000031} - + {c76ff9f1-1e62-46d8-8d55-000000000032} + + {c76ff9f1-1e62-46d8-8d55-000000000033} + @@ -2010,6 +2013,12 @@ MD5 + + Compat + + + Compat + Script diff --git a/projects/openttd_vs142.vcxproj.in b/projects/openttd_vs142.vcxproj.in index 83befcd8d..6941b3450 100644 --- a/projects/openttd_vs142.vcxproj.in +++ b/projects/openttd_vs142.vcxproj.in @@ -100,7 +100,7 @@ - /J /Zc:throwingNew /std:c++latest %(AdditionalOptions) + /J /Zc:throwingNew /std:c++latest /Zc:__cplusplus %(AdditionalOptions) Full AnySuitable true @@ -168,7 +168,7 @@ - /J /Zc:throwingNew /std:c++latest %(AdditionalOptions) + /J /Zc:throwingNew /std:c++latest /Zc:__cplusplus %(AdditionalOptions) Disabled true ..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories) @@ -223,7 +223,7 @@ - /J /Zc:throwingNew /std:c++latest %(AdditionalOptions) + /J /Zc:throwingNew /std:c++latest /Zc:__cplusplus %(AdditionalOptions) Full AnySuitable true @@ -289,7 +289,7 @@ - /J /Zc:throwingNew /std:c++latest %(AdditionalOptions) + /J /Zc:throwingNew /std:c++latest /Zc:__cplusplus %(AdditionalOptions) Disabled true ..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories) 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) + /std:c++latest /Zc:__cplusplus %(AdditionalOptions) MinSpace Size SETTINGSGEN;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) -- cgit v1.2.3-70-g09d2