mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 13:14:01 +08:00
fix the filter {}
problem + cache similar strings
This commit is contained in:
parent
3d6c25d33b
commit
7b810764fa
15
premake5.lua
15
premake5.lua
@ -486,6 +486,7 @@ targetprefix "" -- prevent adding the prefix libxxx on linux
|
|||||||
visibility "Hidden" -- hide all symbols by default on GCC (unless they are marked visible)
|
visibility "Hidden" -- hide all symbols by default on GCC (unless they are marked visible)
|
||||||
linkgroups "On" -- turn off the awful order dependent linking on gcc/clang, causes the linker to go back and forth to find missing symbols
|
linkgroups "On" -- turn off the awful order dependent linking on gcc/clang, causes the linker to go back and forth to find missing symbols
|
||||||
exceptionhandling "On" -- "Enable exception handling. ... although it does not affect execution."
|
exceptionhandling "On" -- "Enable exception handling. ... although it does not affect execution."
|
||||||
|
stringpooling "On" -- cache similar strings
|
||||||
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",
|
||||||
@ -833,6 +834,9 @@ project "api_experimental"
|
|||||||
common_files,
|
common_files,
|
||||||
overlay_files,
|
overlay_files,
|
||||||
}
|
}
|
||||||
|
removefiles {
|
||||||
|
'libs/detours/uimports.cc',
|
||||||
|
}
|
||||||
-- deps
|
-- deps
|
||||||
filter { 'options:incdeps', "platforms:x32", }
|
filter { 'options:incdeps', "platforms:x32", }
|
||||||
files {
|
files {
|
||||||
@ -846,9 +850,6 @@ project "api_experimental"
|
|||||||
table_postfix_items(x64_deps_overlay_include, '/**.hxx'),
|
table_postfix_items(x64_deps_overlay_include, '/**.hxx'),
|
||||||
table_postfix_items(x64_deps_overlay_include, '/**.hpp'),
|
table_postfix_items(x64_deps_overlay_include, '/**.hpp'),
|
||||||
}
|
}
|
||||||
removefiles {
|
|
||||||
'libs/detours/uimports.cc',
|
|
||||||
}
|
|
||||||
-- Windows common source files
|
-- Windows common source files
|
||||||
filter { "system:windows", }
|
filter { "system:windows", }
|
||||||
removefiles {
|
removefiles {
|
||||||
@ -975,6 +976,9 @@ project "steamclient_experimental"
|
|||||||
common_files,
|
common_files,
|
||||||
overlay_files,
|
overlay_files,
|
||||||
}
|
}
|
||||||
|
removefiles {
|
||||||
|
'libs/detours/uimports.cc',
|
||||||
|
}
|
||||||
-- deps
|
-- deps
|
||||||
filter { 'options:incdeps', "platforms:x32", }
|
filter { 'options:incdeps', "platforms:x32", }
|
||||||
files {
|
files {
|
||||||
@ -988,9 +992,6 @@ project "steamclient_experimental"
|
|||||||
table_postfix_items(x64_deps_overlay_include, '/**.hxx'),
|
table_postfix_items(x64_deps_overlay_include, '/**.hxx'),
|
||||||
table_postfix_items(x64_deps_overlay_include, '/**.hpp'),
|
table_postfix_items(x64_deps_overlay_include, '/**.hpp'),
|
||||||
}
|
}
|
||||||
removefiles {
|
|
||||||
'libs/detours/uimports.cc',
|
|
||||||
}
|
|
||||||
-- Windows common source files
|
-- Windows common source files
|
||||||
filter { "system:windows", }
|
filter { "system:windows", }
|
||||||
removefiles {
|
removefiles {
|
||||||
@ -1386,7 +1387,7 @@ project "steamclient_experimental_loader"
|
|||||||
---------
|
---------
|
||||||
filter {} -- reset the filter and remove all active keywords
|
filter {} -- reset the filter and remove all active keywords
|
||||||
files {
|
files {
|
||||||
"tools/steamclient_loader/win/*",
|
"tools/steamclient_loader/win/*", -- we want the .ini too
|
||||||
"helpers/pe_helpers.cpp", "helpers/pe_helpers/**",
|
"helpers/pe_helpers.cpp", "helpers/pe_helpers/**",
|
||||||
"helpers/common_helpers.cpp", "helpers/common_helpers/**",
|
"helpers/common_helpers.cpp", "helpers/common_helpers/**",
|
||||||
"helpers/dbg_log.cpp", "helpers/dbg_log/**",
|
"helpers/dbg_log.cpp", "helpers/dbg_log/**",
|
||||||
|
Loading…
Reference in New Issue
Block a user