Browse Source

Use C++17 in all native projects

pull/1547/head
josetr 5 years ago
parent
commit
0b69eb8655
  1. 4
      build/Helpers.lua

4
build/Helpers.lua

@ -74,7 +74,8 @@ end
function SetupNativeProject() function SetupNativeProject()
location (path.join(actionbuilddir, "projects")) location (path.join(actionbuilddir, "projects"))
files { "*.lua" } files { "*.lua" }
cppdialect "c++17"
if os.getenv("CPPSHARP_RELEASE") == "true" then if os.getenv("CPPSHARP_RELEASE") == "true" then
symbols "off" symbols "off"
end end
@ -107,7 +108,6 @@ function SetupNativeProject()
links { "c++" } links { "c++" }
filter { "toolset:not msc*", "language:C++" } filter { "toolset:not msc*", "language:C++" }
cppdialect "C++14"
buildoptions { "-fpermissive" } buildoptions { "-fpermissive" }
-- OS-specific options -- OS-specific options

Loading…
Cancel
Save