From 0b69eb865564779c92b2b39ab38264daff43b2cb Mon Sep 17 00:00:00 2001 From: josetr <37419832+josetr@users.noreply.github.com> Date: Fri, 11 Dec 2020 00:39:34 +0000 Subject: [PATCH] Use C++17 in all native projects --- build/Helpers.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Helpers.lua b/build/Helpers.lua index 84e9337e..82754387 100644 --- a/build/Helpers.lua +++ b/build/Helpers.lua @@ -74,7 +74,8 @@ end function SetupNativeProject() location (path.join(actionbuilddir, "projects")) files { "*.lua" } - + cppdialect "c++17" + if os.getenv("CPPSHARP_RELEASE") == "true" then symbols "off" end @@ -107,7 +108,6 @@ function SetupNativeProject() links { "c++" } filter { "toolset:not msc*", "language:C++" } - cppdialect "C++14" buildoptions { "-fpermissive" } -- OS-specific options