From f4deeefa1c12189144adc34fd1bdb4002ef27123 Mon Sep 17 00:00:00 2001 From: Sam V Date: Sun, 28 Nov 2021 19:03:01 +0100 Subject: [PATCH] Set C++ standard to 17 Resolves #85 (cherry picked from commit 0e54a058fbc8ef87276764acbcca7c65e2a32fb3) --- projects/vs2017/hl_cdll.vcxproj | 2 ++ projects/vs2017/hldll.vcxproj | 2 ++ projects/vs2019/hl_cdll.vcxproj | 2 ++ projects/vs2019/hldll.vcxproj | 2 ++ 4 files changed, 8 insertions(+) diff --git a/projects/vs2017/hl_cdll.vcxproj b/projects/vs2017/hl_cdll.vcxproj index 2dcec04b4..71e0c90d4 100644 --- a/projects/vs2017/hl_cdll.vcxproj +++ b/projects/vs2017/hl_cdll.vcxproj @@ -64,6 +64,7 @@ true /Zc:threadSafeInit- %(AdditionalOptions) true + stdcpp17 Windows @@ -92,6 +93,7 @@ true /Zc:threadSafeInit- %(AdditionalOptions) true + stdcpp17 Windows diff --git a/projects/vs2017/hldll.vcxproj b/projects/vs2017/hldll.vcxproj index 31493e69a..2d71cb432 100644 --- a/projects/vs2017/hldll.vcxproj +++ b/projects/vs2017/hldll.vcxproj @@ -64,6 +64,7 @@ MultiThreadedDebug /Zc:threadSafeInit- %(AdditionalOptions) true + stdcpp17 Windows @@ -90,6 +91,7 @@ true /Zc:threadSafeInit- %(AdditionalOptions) true + stdcpp17 Windows diff --git a/projects/vs2019/hl_cdll.vcxproj b/projects/vs2019/hl_cdll.vcxproj index 512a8d4f7..010a04ec8 100644 --- a/projects/vs2019/hl_cdll.vcxproj +++ b/projects/vs2019/hl_cdll.vcxproj @@ -66,6 +66,7 @@ true /Zc:threadSafeInit- %(AdditionalOptions) true + stdcpp17 Windows @@ -96,6 +97,7 @@ EXIT /B 0 true /Zc:threadSafeInit- %(AdditionalOptions) true + stdcpp17 Windows diff --git a/projects/vs2019/hldll.vcxproj b/projects/vs2019/hldll.vcxproj index e2700b377..bb5f71103 100644 --- a/projects/vs2019/hldll.vcxproj +++ b/projects/vs2019/hldll.vcxproj @@ -66,6 +66,7 @@ MultiThreadedDebug /Zc:threadSafeInit- %(AdditionalOptions) true + stdcpp17 Windows @@ -94,6 +95,7 @@ EXIT /B 0 true /Zc:threadSafeInit- %(AdditionalOptions) true + stdcpp17 Windows