summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2023-03-27 17:48:46 +0800
committerGitHub <noreply@github.com>2023-03-27 17:48:46 +0800
commit333968af7344bcf0ef77818d076efcf88acd159d (patch)
tree24558bec5cbbfd6bcc9d75da01e456e98cab8e4f /premake5.lua
parentffa7d05e898492aa1120f8747332a72ca5befc56 (diff)
Use c++17 standard (#2686)
* Use c++17 standard * regenerate VS projects * Switch to using std::invoke
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua3
1 files changed, 1 insertions, 2 deletions
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