mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
update premake config
This commit is contained in:
parent
18b6f8dd1b
commit
524683b257
37
premake5.lua
37
premake5.lua
@ -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"
|
||||||
|
defines {"_WINDOWS", "WIN32"}
|
||||||
|
filter {}
|
||||||
|
|
||||||
configuration "windows"
|
filter "configurations:Release"
|
||||||
defines {"_WINDOWS", "WIN32"}
|
optimize "Size"
|
||||||
|
buildoptions {"/GL"}
|
||||||
|
linkoptions { "/IGNORE:4702", "/LTCG" }
|
||||||
|
defines {"NDEBUG"}
|
||||||
|
flags {"FatalCompileWarnings"}
|
||||||
|
filter {}
|
||||||
|
|
||||||
configuration "Release"
|
filter "configurations:Debug"
|
||||||
optimize "Size"
|
optimize "Debug"
|
||||||
buildoptions {"/GL"}
|
defines {"DEBUG", "_DEBUG"}
|
||||||
linkoptions { "/IGNORE:4702", "/LTCG" }
|
filter {}
|
||||||
|
|
||||||
defines {"NDEBUG"}
|
|
||||||
|
|
||||||
flags {"FatalCompileWarnings"}
|
|
||||||
|
|
||||||
configuration "Debug"
|
|
||||||
optimize "Debug"
|
|
||||||
|
|
||||||
defines {"DEBUG", "_DEBUG"}
|
|
||||||
|
|
||||||
configuration {}
|
|
||||||
|
|
||||||
project "common"
|
project "common"
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user