mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-01-12 10:29:32 +08:00
adding SteamClientExtra, .rc files.
now targeting c++latest instead of c++17 (CAN BE REVERTED!)
This commit is contained in:
parent
99391fd699
commit
87b0e9f955
67
premake.lua
67
premake.lua
@ -96,7 +96,7 @@ workspace "GBE"
|
|||||||
|
|
||||||
-- Project SteamEmu
|
-- Project SteamEmu
|
||||||
project "SteamEmu"
|
project "SteamEmu"
|
||||||
cppdialect("C++17")
|
cppdialect("C++latest")
|
||||||
kind "SharedLib"
|
kind "SharedLib"
|
||||||
language "C++"
|
language "C++"
|
||||||
targetdir "bin/SteamEmu/%{cfg.buildcfg}_%{cfg.platform}"
|
targetdir "bin/SteamEmu/%{cfg.buildcfg}_%{cfg.platform}"
|
||||||
@ -144,8 +144,7 @@ project "SteamEmu"
|
|||||||
-- WIN 32 DEFAULTS
|
-- WIN 32 DEFAULTS
|
||||||
filter { "platforms:x32", "options:os=windows" }
|
filter { "platforms:x32", "options:os=windows" }
|
||||||
files {
|
files {
|
||||||
windows_files,
|
windows_files
|
||||||
"resources/win/api/32/resources.rc"
|
|
||||||
}
|
}
|
||||||
links {
|
links {
|
||||||
win_link,
|
win_link,
|
||||||
@ -179,8 +178,7 @@ project "SteamEmu"
|
|||||||
-- WIN 64 DEFAULTS
|
-- WIN 64 DEFAULTS
|
||||||
filter { "platforms:x64", "options:os=windows" }
|
filter { "platforms:x64", "options:os=windows" }
|
||||||
files {
|
files {
|
||||||
windows_files,
|
windows_files
|
||||||
"resources/win/api/64/resources.rc"
|
|
||||||
}
|
}
|
||||||
links {
|
links {
|
||||||
win_link,
|
win_link,
|
||||||
@ -224,7 +222,8 @@ project "SteamEmu"
|
|||||||
"libs/**",
|
"libs/**",
|
||||||
crash_win,
|
crash_win,
|
||||||
"controller/**",
|
"controller/**",
|
||||||
"overlay_experimental/**"
|
"overlay_experimental/**",
|
||||||
|
"resources/win/api/32/resources.rc"
|
||||||
}
|
}
|
||||||
removefiles { "libs/detours/uimports.cc" }
|
removefiles { "libs/detours/uimports.cc" }
|
||||||
defines { "DEBUG", "EMU_EXPERIMENTAL_BUILD", "ImTextureID=ImU64" }
|
defines { "DEBUG", "EMU_EXPERIMENTAL_BUILD", "ImTextureID=ImU64" }
|
||||||
@ -235,7 +234,8 @@ project "SteamEmu"
|
|||||||
"libs/**",
|
"libs/**",
|
||||||
crash_win,
|
crash_win,
|
||||||
"controller/**",
|
"controller/**",
|
||||||
"overlay_experimental/**"
|
"overlay_experimental/**",
|
||||||
|
"resources/win/api/32/resources.rc"
|
||||||
}
|
}
|
||||||
removefiles { "libs/detours/uimports.cc" }
|
removefiles { "libs/detours/uimports.cc" }
|
||||||
defines { "NDEBUG", "EMU_RELEASE_BUILD", "EMU_EXPERIMENTAL_BUILD" ,"CONTROLLER_SUPPORT", "EMU_OVERLAY", "ImTextureID=ImU64" }
|
defines { "NDEBUG", "EMU_RELEASE_BUILD", "EMU_EXPERIMENTAL_BUILD" ,"CONTROLLER_SUPPORT", "EMU_OVERLAY", "ImTextureID=ImU64" }
|
||||||
@ -260,12 +260,11 @@ project "SteamEmu"
|
|||||||
}
|
}
|
||||||
defines { "NDEBUG", "EMU_RELEASE_BUILD", "CONTROLLER_SUPPORT", "EMU_OVERLAY", "ImTextureID=ImU64" }
|
defines { "NDEBUG", "EMU_RELEASE_BUILD", "CONTROLLER_SUPPORT", "EMU_OVERLAY", "ImTextureID=ImU64" }
|
||||||
|
|
||||||
-- x
|
-- end SteamEmu
|
||||||
|
|
||||||
-- Project SteamClient
|
-- Project SteamClient
|
||||||
project "SteamClient"
|
project "SteamClient"
|
||||||
dependson { "SteamEmu" }
|
cppdialect("C++latest")
|
||||||
cppdialect("C++17")
|
|
||||||
kind "SharedLib"
|
kind "SharedLib"
|
||||||
language "C++"
|
language "C++"
|
||||||
targetdir "bin/SteamClient/%{cfg.buildcfg}_%{cfg.platform}"
|
targetdir "bin/SteamClient/%{cfg.buildcfg}_%{cfg.platform}"
|
||||||
@ -443,10 +442,58 @@ project "SteamClient"
|
|||||||
}
|
}
|
||||||
defines {"UTF_CPP_CPLUSPLUS=201703L", "CURL_STATICLIB", "GNUC", "NDEBUG", "EMU_RELEASE_BUILD", "CONTROLLER_SUPPORT", "EMU_OVERLAY", "ImTextureID=ImU64", "STEAMCLIENT_DLL" }
|
defines {"UTF_CPP_CPLUSPLUS=201703L", "CURL_STATICLIB", "GNUC", "NDEBUG", "EMU_RELEASE_BUILD", "CONTROLLER_SUPPORT", "EMU_OVERLAY", "ImTextureID=ImU64", "STEAMCLIENT_DLL" }
|
||||||
|
|
||||||
|
-- SteamClientExtra
|
||||||
|
if os.target() == "windows" then
|
||||||
|
project "SteamClientExtra"
|
||||||
|
cppdialect("C++latest")
|
||||||
|
kind "SharedLib"
|
||||||
|
language "C++"
|
||||||
|
targetdir "bin/SteamClientExtra/%{cfg.buildcfg}_%{cfg.platform}"
|
||||||
|
location "GBE_Build/SteamClientExtra"
|
||||||
|
staticruntime "on"
|
||||||
|
|
||||||
|
optimize "On"
|
||||||
|
symbols "Off"
|
||||||
|
|
||||||
|
buildoptions {
|
||||||
|
"/permissive-", "/MP4", "/DYNAMICBASE", "/utf-8", "/Zc:char8_t-", "/EHsc", "/GL-"
|
||||||
|
}
|
||||||
|
linkoptions {
|
||||||
|
"/emittoolversioninfo:no"
|
||||||
|
}
|
||||||
|
|
||||||
|
links {
|
||||||
|
win_link,
|
||||||
|
"user32.lib"
|
||||||
|
}
|
||||||
|
|
||||||
|
includedirs {
|
||||||
|
"helpers",
|
||||||
|
"libs",
|
||||||
|
"tools/steamclient_loader/win/extra_protection"
|
||||||
|
}
|
||||||
|
-- WIN 32 DEFAULTS
|
||||||
|
filter { "platforms:x32", "options:os=windows" }
|
||||||
|
files {
|
||||||
|
"helpers/**",
|
||||||
|
"libs/detours/**",
|
||||||
|
"resources/win/client/32/resources.rc",
|
||||||
|
"tools/steamclient_loader/win/**"
|
||||||
|
}
|
||||||
|
removefiles { "libs/detours/uimports.cc" }
|
||||||
|
|
||||||
|
-- WIN 64 DEFAULTS
|
||||||
|
filter { "platforms:x64", "options:os=windows" }
|
||||||
|
files {
|
||||||
|
"helpers/**",
|
||||||
|
"libs/detours/**",
|
||||||
|
"resources/win/client/64/resources.rc",
|
||||||
|
"tools/steamclient_loader/win/**"
|
||||||
|
}
|
||||||
|
removefiles { "libs/detours/uimports.cc" }
|
||||||
|
|
||||||
|
end
|
||||||
|
-- End SteamClient + SteamClientExtra
|
||||||
|
|
||||||
|
|
||||||
-- .
|
-- .
|
Loading…
x
Reference in New Issue
Block a user