mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 13:14:01 +08:00
adding controller to link, excl simpleini .c
why do we not build that too? idk
This commit is contained in:
parent
b298976fcf
commit
f3c251508c
18
premake5.lua
18
premake5.lua
@ -79,7 +79,9 @@ local windows_files = {
|
|||||||
local linux_files = {
|
local linux_files = {
|
||||||
default_files,
|
default_files,
|
||||||
predefined_libs,
|
predefined_libs,
|
||||||
crash_linux
|
crash_linux,
|
||||||
|
"controller/**",
|
||||||
|
""
|
||||||
}
|
}
|
||||||
-- 32
|
-- 32
|
||||||
local x32_libsdir_win = {
|
local x32_libsdir_win = {
|
||||||
@ -278,23 +280,31 @@ project "SteamEmu"
|
|||||||
files {
|
files {
|
||||||
linux_files
|
linux_files
|
||||||
}
|
}
|
||||||
|
removefiles {
|
||||||
|
"libs/simpleini/**"
|
||||||
|
}
|
||||||
|
|
||||||
removefiles {
|
removefiles {
|
||||||
"helpers/pe_**"
|
"helpers/pe_**"
|
||||||
}
|
}
|
||||||
buildoptions {
|
buildoptions {
|
||||||
"-fvisibility=hidden", "-fexceptions", "-fno-jump-tables", "-fno-char8_t"
|
"-fvisibility=hidden", "-fexceptions", "-fno-jump-tables", "-fno-char8_t" , "-Wundefined-internal", "-Wno-switch"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
linkoptions {
|
||||||
|
"-Wl,-Bdynamic -Wl,--no-whole-archive -Wl,--exclude-libs,ALL"
|
||||||
|
}
|
||||||
|
|
||||||
links {
|
links {
|
||||||
linux_link,
|
linux_link,
|
||||||
overlay_link_linux
|
overlay_link_linux
|
||||||
}
|
}
|
||||||
|
|
||||||
filter { "options:os=linux", "configurations:Release" }
|
filter { "options:os=linux", "configurations:Release" }
|
||||||
defines {"NDEBUG", "EMU_RELEASE_BUILD", "UTF_CPP_CPLUSPLUS=201703L", "CURL_STATICLIB", "UNICODE", "_UNICODE", "GNUC" }
|
defines {"NDEBUG", "EMU_RELEASE_BUILD", "UTF_CPP_CPLUSPLUS=201703L", "CURL_STATICLIB", "UNICODE", "_UNICODE", "GNUC", "CONTROLLER_SUPPORT" }
|
||||||
|
|
||||||
filter { "options:os=linux", "configurations:Debug" }
|
filter { "options:os=linux", "configurations:Debug" }
|
||||||
defines {"DEBUG", "UTF_CPP_CPLUSPLUS=201703L", "CURL_STATICLIB", "UNICODE", "_UNICODE", "GNUC" }
|
defines {"DEBUG", "UTF_CPP_CPLUSPLUS=201703L", "CURL_STATICLIB", "UNICODE", "_UNICODE", "GNUC", "CONTROLLER_SUPPORT" }
|
||||||
|
|
||||||
-- linux 32 DEFAULTS
|
-- linux 32 DEFAULTS
|
||||||
filter { "platforms:x32", "options:os=linux" }
|
filter { "platforms:x32", "options:os=linux" }
|
||||||
|
Loading…
Reference in New Issue
Block a user