Skip to content

Commit 0b69eb8

Browse files
committed
Use C++17 in all native projects
1 parent f58ca3b commit 0b69eb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/Helpers.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ end
7474
function SetupNativeProject()
7575
location (path.join(actionbuilddir, "projects"))
7676
files { "*.lua" }
77-
77+
cppdialect "c++17"
78+
7879
if os.getenv("CPPSHARP_RELEASE") == "true" then
7980
symbols "off"
8081
end
@@ -107,7 +108,6 @@ function SetupNativeProject()
107108
links { "c++" }
108109

109110
filter { "toolset:not msc*", "language:C++" }
110-
cppdialect "C++14"
111111
buildoptions { "-fpermissive" }
112112

113113
-- OS-specific options

0 commit comments

Comments
 (0)