mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 13:14:01 +08:00
format
This commit is contained in:
parent
01f7fea9f9
commit
6bba1efc9e
11
premake5.lua
11
premake5.lua
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user