This commit is contained in:
otavepto 2024-05-28 22:27:47 +03:00
parent 01f7fea9f9
commit 6bba1efc9e

View File

@ -313,15 +313,15 @@ local x64_deps_overlay_libdir = {
filter {} -- reset the filter and remove all active keywords filter {} -- reset the filter and remove all active keywords
configurations { "debug", "release", } configurations { "debug", "release", }
platforms { "x64", "x32", } platforms { "x64", "x32", }
language("C++") language "C++"
cppdialect("C++17") cppdialect "C++17"
cdialect("C17") cdialect "C17"
filter { "system:linux", "action:gmake*" , } filter { "system:linux", "action:gmake*" , }
cdialect("gnu17") -- gamepad.c relies on some linux-specific functions like strdup() and MAX_PATH cdialect("gnu17") -- gamepad.c relies on some linux-specific functions like strdup() and MAX_PATH
filter {} -- reset the filter and remove all active keywords filter {} -- reset the filter and remove all active keywords
characterset("Unicode") characterset "Unicode"
staticruntime "on" -- /MT or /MTd staticruntime "on" -- /MT or /MTd
runtime "Release" -- ensure we never link with /MTd, otherwise deps linking will fail runtime "Release" -- ensure we never link with /MTd, otherwise deps linking will fail
flags { flags {
@ -329,7 +329,7 @@ flags {
"MultiProcessorCompile", -- Enable Visual Studio to use multiple compiler processes when building "MultiProcessorCompile", -- Enable Visual Studio to use multiple compiler processes when building
"RelativeLinks", "RelativeLinks",
} }
targetprefix ("") -- prevent adding the prefix libxxx on linux targetprefix "" -- prevent adding the prefix libxxx on linux
vpaths { -- just for visual niceness, see: https://premake.github.io/docs/vpaths/ vpaths { -- just for visual niceness, see: https://premake.github.io/docs/vpaths/
["headers/*"] = { ["headers/*"] = {
"**.h", "**.hxx", "**.hpp", "**.h", "**.hxx", "**.hpp",
@ -730,7 +730,6 @@ project "steamclient_experimental"
common_emu_defines, common_emu_defines,
"STEAMCLIENT_DLL", "EMU_OVERLAY", "ImTextureID=ImU64", "STEAMCLIENT_DLL", "EMU_OVERLAY", "ImTextureID=ImU64",
} }
-- Windows defines -- Windows defines
filter { "system:windows" } filter { "system:windows" }
defines { defines {