update premake config

This commit is contained in:
m 2022-01-26 23:15:32 -06:00
parent 18b6f8dd1b
commit 524683b257
2 changed files with 18 additions and 19 deletions

View File

@ -227,10 +227,12 @@ targetdir "%{wks.location}/bin/%{cfg.platform}/%{cfg.buildcfg}"
configurations {"Debug", "Release"} configurations {"Debug", "Release"}
architecture "x64" language "C++"
cppdialect "C++20"
architecture "x86_64"
platforms "x64" platforms "x64"
buildoptions "/std:c++latest"
systemversion "latest" systemversion "latest"
symbols "On" symbols "On"
staticruntime "On" staticruntime "On"
@ -248,25 +250,22 @@ end
flags {"NoIncrementalLink", "NoMinimalRebuild", "MultiProcessorCompile", "No64BitChecks"} flags {"NoIncrementalLink", "NoMinimalRebuild", "MultiProcessorCompile", "No64BitChecks"}
filter "platforms:x64"
configuration "windows"
defines {"_WINDOWS", "WIN32"} defines {"_WINDOWS", "WIN32"}
filter {}
configuration "Release" filter "configurations:Release"
optimize "Size" optimize "Size"
buildoptions {"/GL"} buildoptions {"/GL"}
linkoptions { "/IGNORE:4702", "/LTCG" } linkoptions { "/IGNORE:4702", "/LTCG" }
defines {"NDEBUG"} defines {"NDEBUG"}
flags {"FatalCompileWarnings"} flags {"FatalCompileWarnings"}
filter {}
configuration "Debug" filter "configurations:Debug"
optimize "Debug" optimize "Debug"
defines {"DEBUG", "_DEBUG"} defines {"DEBUG", "_DEBUG"}
filter {}
configuration {}
project "common" project "common"
kind "StaticLib" kind "StaticLib"

Binary file not shown.