diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2023-03-27 17:48:46 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-27 17:48:46 +0800 |
| commit | 333968af7344bcf0ef77818d076efcf88acd159d (patch) | |
| tree | 24558bec5cbbfd6bcc9d75da01e456e98cab8e4f /premake5.lua | |
| parent | ffa7d05e898492aa1120f8747332a72ca5befc56 (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.lua | 3 |
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 |
