I can't change my C++ version with from the Premake file (i'm using the MSVC toolchain) This is the lua file i'm running:
workspace "myname"
configurations{"Release", "Debug"}
platforms {"Win64", "Win32"}
project "myname"
kind "ConsoleApp"
language "C++"
files {"src/**.pch", "src/**.h", "src/**.cpp"} -- .hpp not included
buildoptions "--std=c++17"
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
targetdir "bin/Debug"
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
symbols "Off"
targetdir "bin/Release"
filter "platforms:Win64"
system "windows"
architecture "x86_64" --x64
filter "platforms:Win32"
system "windows"
architecture "x86"
It generates the solution, but the version is still the default one from vs (C++11)