From 333968af7344bcf0ef77818d076efcf88acd159d Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Mon, 27 Mar 2023 17:48:46 +0800 Subject: Use c++17 standard (#2686) * Use c++17 standard * regenerate VS projects * Switch to using std::invoke --- premake5.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'premake5.lua') diff --git a/premake5.lua b/premake5.lua index 093b4659d..7635e1df1 100644 --- a/premake5.lua +++ b/premake5.lua @@ -320,8 +320,7 @@ workspace "slang" -- and configuration options, e.g. `bin/windows-x64/debug/` targetdir("bin/" .. targetName .. "/%{cfg.buildcfg:lower()}") - -- C++11 - cppdialect "C++11" + cppdialect "C++17" -- Statically link to the C/C++ runtime rather than create a DLL dependency. staticruntime "On" -- Turn off edit and continue for all projects. This is needed to avoid -- cgit v1.2.3