mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[premake] Cleanup
This commit is contained in:
parent
7fec549552
commit
25d6f8269a
|
|
@ -9,8 +9,6 @@ project("xenia-app-discord")
|
||||||
links({
|
links({
|
||||||
"discord-rpc"
|
"discord-rpc"
|
||||||
})
|
})
|
||||||
defines({
|
|
||||||
})
|
|
||||||
includedirs({
|
includedirs({
|
||||||
project_root.."/third_party/discord-rpc/src"
|
project_root.."/third_party/discord-rpc/src"
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -129,6 +129,4 @@ project("xenia-app")
|
||||||
local user_file = project_root.."/build/xenia-app.vcxproj.user"
|
local user_file = project_root.."/build/xenia-app.vcxproj.user"
|
||||||
if not os.isfile(user_file) then
|
if not os.isfile(user_file) then
|
||||||
debugdir(project_root)
|
debugdir(project_root)
|
||||||
debugargs({
|
|
||||||
})
|
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,4 @@ project("xenia-apu-nop")
|
||||||
"xenia-base",
|
"xenia-base",
|
||||||
"xenia-apu",
|
"xenia-apu",
|
||||||
})
|
})
|
||||||
defines({
|
|
||||||
})
|
|
||||||
local_platform_files()
|
local_platform_files()
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,6 @@ project("xenia-apu")
|
||||||
"libavformat",
|
"libavformat",
|
||||||
"xenia-base",
|
"xenia-base",
|
||||||
})
|
})
|
||||||
defines({
|
|
||||||
})
|
|
||||||
includedirs({
|
includedirs({
|
||||||
project_root.."/third_party/FFmpeg/",
|
project_root.."/third_party/FFmpeg/",
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,5 @@ project("xenia-apu-sdl")
|
||||||
"xenia-helper-sdl",
|
"xenia-helper-sdl",
|
||||||
"SDL2",
|
"SDL2",
|
||||||
})
|
})
|
||||||
defines({
|
|
||||||
})
|
|
||||||
local_platform_files()
|
local_platform_files()
|
||||||
sdl2_include()
|
sdl2_include()
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,4 @@ project("xenia-apu-xaudio2")
|
||||||
"xenia-base",
|
"xenia-base",
|
||||||
"xenia-apu",
|
"xenia-apu",
|
||||||
})
|
})
|
||||||
defines({
|
|
||||||
})
|
|
||||||
local_platform_files()
|
local_platform_files()
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@ project("xenia-base")
|
||||||
links({
|
links({
|
||||||
"fmt",
|
"fmt",
|
||||||
})
|
})
|
||||||
defines({
|
|
||||||
})
|
|
||||||
local_platform_files()
|
local_platform_files()
|
||||||
removefiles({"console_app_main_*.cc"})
|
removefiles({"console_app_main_*.cc"})
|
||||||
removefiles({"main_init_*.cc"})
|
removefiles({"main_init_*.cc"})
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,6 @@ project("xenia-cpu-backend-x64")
|
||||||
})
|
})
|
||||||
defines({
|
defines({
|
||||||
"CAPSTONE_X86_ATT_DISABLE",
|
"CAPSTONE_X86_ATT_DISABLE",
|
||||||
"CAPSTONE_DIET_NO",
|
|
||||||
"CAPSTONE_X86_REDUCE_NO",
|
|
||||||
"CAPSTONE_HAS_X86",
|
"CAPSTONE_HAS_X86",
|
||||||
"CAPSTONE_USE_SYS_DYN_MEM",
|
"CAPSTONE_USE_SYS_DYN_MEM",
|
||||||
"XBYAK_NO_OP_NAMES",
|
"XBYAK_NO_OP_NAMES",
|
||||||
|
|
|
||||||
|
|
@ -12,13 +12,4 @@ project("xenia-debug-ui")
|
||||||
"xenia-cpu",
|
"xenia-cpu",
|
||||||
"xenia-ui",
|
"xenia-ui",
|
||||||
})
|
})
|
||||||
-- filter({"configurations:Release", "platforms:Windows"})
|
|
||||||
-- buildoptions({
|
|
||||||
-- "/O1",
|
|
||||||
-- })
|
|
||||||
-- filter{}
|
|
||||||
defines({
|
|
||||||
})
|
|
||||||
includedirs({
|
|
||||||
})
|
|
||||||
local_platform_files()
|
local_platform_files()
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,5 @@ project("xenia-helper-sdl")
|
||||||
links({
|
links({
|
||||||
"SDL2",
|
"SDL2",
|
||||||
})
|
})
|
||||||
defines({
|
|
||||||
})
|
|
||||||
includedirs({
|
|
||||||
})
|
|
||||||
local_platform_files()
|
local_platform_files()
|
||||||
sdl2_include()
|
sdl2_include()
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,4 @@ project("xenia-hid-nop")
|
||||||
"xenia-base",
|
"xenia-base",
|
||||||
"xenia-hid",
|
"xenia-hid",
|
||||||
})
|
})
|
||||||
defines({
|
|
||||||
})
|
|
||||||
local_platform_files()
|
local_platform_files()
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,5 @@ project("xenia-hid")
|
||||||
"xenia-base",
|
"xenia-base",
|
||||||
"xenia-hid-skylander",
|
"xenia-hid-skylander",
|
||||||
})
|
})
|
||||||
defines({
|
|
||||||
})
|
|
||||||
local_platform_files()
|
local_platform_files()
|
||||||
removefiles({"*_demo.cc"})
|
removefiles({"*_demo.cc"})
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,5 @@ project("xenia-hid-sdl")
|
||||||
"xenia-ui",
|
"xenia-ui",
|
||||||
"SDL2",
|
"SDL2",
|
||||||
})
|
})
|
||||||
defines({
|
|
||||||
})
|
|
||||||
local_platform_files()
|
local_platform_files()
|
||||||
sdl2_include()
|
sdl2_include()
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,4 @@ project("xenia-hid-winkey")
|
||||||
"xenia-hid",
|
"xenia-hid",
|
||||||
"xenia-ui",
|
"xenia-ui",
|
||||||
})
|
})
|
||||||
defines({
|
|
||||||
})
|
|
||||||
local_platform_files()
|
local_platform_files()
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,4 @@ project("xenia-hid-xinput")
|
||||||
"xenia-base",
|
"xenia-base",
|
||||||
"xenia-hid",
|
"xenia-hid",
|
||||||
})
|
})
|
||||||
defines({
|
|
||||||
})
|
|
||||||
local_platform_files()
|
local_platform_files()
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,4 @@ project("xenia-patcher")
|
||||||
links({
|
links({
|
||||||
"xenia-base"
|
"xenia-base"
|
||||||
})
|
})
|
||||||
defines({
|
|
||||||
})
|
|
||||||
recursive_platform_files()
|
recursive_platform_files()
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,4 @@ project("xenia-core")
|
||||||
"fmt",
|
"fmt",
|
||||||
"xenia-base",
|
"xenia-base",
|
||||||
})
|
})
|
||||||
defines({
|
|
||||||
})
|
|
||||||
files({"*.h", "*.cc"})
|
files({"*.h", "*.cc"})
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,6 @@ project("xenia-ui")
|
||||||
links({
|
links({
|
||||||
"xenia-base",
|
"xenia-base",
|
||||||
})
|
})
|
||||||
defines({
|
|
||||||
})
|
|
||||||
local_platform_files()
|
local_platform_files()
|
||||||
removefiles({"*_demo.cc"})
|
removefiles({"*_demo.cc"})
|
||||||
removefiles({"windowed_app_main_*.cc"})
|
removefiles({"windowed_app_main_*.cc"})
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,6 @@ project("xenia-vfs")
|
||||||
"zstd",
|
"zstd",
|
||||||
"zarchive"
|
"zarchive"
|
||||||
})
|
})
|
||||||
defines({
|
|
||||||
})
|
|
||||||
|
|
||||||
recursive_platform_files()
|
recursive_platform_files()
|
||||||
removefiles({"vfs_dump.cc"})
|
removefiles({"vfs_dump.cc"})
|
||||||
|
|
@ -27,7 +25,6 @@ if enableMiscSubprojects then
|
||||||
"xenia-base",
|
"xenia-base",
|
||||||
"xenia-vfs",
|
"xenia-vfs",
|
||||||
})
|
})
|
||||||
defines({})
|
|
||||||
|
|
||||||
files({
|
files({
|
||||||
"vfs_dump.cc",
|
"vfs_dump.cc",
|
||||||
|
|
|
||||||
5
third_party/SDL2-static.lua
vendored
5
third_party/SDL2-static.lua
vendored
|
|
@ -7,8 +7,8 @@ project("SDL2")
|
||||||
|
|
||||||
defines({
|
defines({
|
||||||
"HAVE_LIBC",
|
"HAVE_LIBC",
|
||||||
"SDL_LEAN_AND_MEAN=1",
|
"SDL_LEAN_AND_MEAN",
|
||||||
"SDL_RENDER_DISABLED=1"
|
"SDL_RENDER_DISABLED",
|
||||||
})
|
})
|
||||||
links({
|
links({
|
||||||
"setupapi.lib",
|
"setupapi.lib",
|
||||||
|
|
@ -21,7 +21,6 @@ project("SDL2")
|
||||||
})
|
})
|
||||||
files({
|
files({
|
||||||
-- 1:1 from SDL2/VisualC/SDL/SDL.vcxproj file
|
-- 1:1 from SDL2/VisualC/SDL/SDL.vcxproj file
|
||||||
|
|
||||||
"SDL2/include/begin_code.h",
|
"SDL2/include/begin_code.h",
|
||||||
"SDL2/include/close_code.h",
|
"SDL2/include/close_code.h",
|
||||||
"SDL2/include/SDL.h",
|
"SDL2/include/SDL.h",
|
||||||
|
|
|
||||||
11
third_party/capstone.lua
vendored
11
third_party/capstone.lua
vendored
|
|
@ -5,17 +5,10 @@ project("capstone")
|
||||||
language("C")
|
language("C")
|
||||||
defines({
|
defines({
|
||||||
"CAPSTONE_X86_ATT_DISABLE",
|
"CAPSTONE_X86_ATT_DISABLE",
|
||||||
"CAPSTONE_DIET_NO",
|
|
||||||
"CAPSTONE_X86_REDUCE_NO",
|
|
||||||
"CAPSTONE_HAS_X86",
|
"CAPSTONE_HAS_X86",
|
||||||
"CAPSTONE_USE_SYS_DYN_MEM",
|
"CAPSTONE_USE_SYS_DYN_MEM",
|
||||||
"_LIB",
|
"_LIB",
|
||||||
})
|
})
|
||||||
-- filter({"configurations:Release", "platforms:Windows"})
|
|
||||||
-- buildoptions({
|
|
||||||
-- "/O1",
|
|
||||||
-- })
|
|
||||||
-- filter {}
|
|
||||||
|
|
||||||
includedirs({
|
includedirs({
|
||||||
"capstone",
|
"capstone",
|
||||||
|
|
@ -49,3 +42,7 @@ project("capstone")
|
||||||
"capstone/**.c",
|
"capstone/**.c",
|
||||||
"capstone/arch/X86/**.c",
|
"capstone/arch/X86/**.c",
|
||||||
})
|
})
|
||||||
|
removefiles({
|
||||||
|
"capstone/arch/X86/X86ATTInstPrinter.c",
|
||||||
|
"capstone/arch/X86/*reduce.inc",
|
||||||
|
})
|
||||||
|
|
|
||||||
2
third_party/discord-rpc.lua
vendored
2
third_party/discord-rpc.lua
vendored
|
|
@ -3,8 +3,6 @@ project("discord-rpc")
|
||||||
uuid("012f6131-efc0-4abd-852d-a33640732d4c")
|
uuid("012f6131-efc0-4abd-852d-a33640732d4c")
|
||||||
kind("StaticLib")
|
kind("StaticLib")
|
||||||
language("C++")
|
language("C++")
|
||||||
links({
|
|
||||||
})
|
|
||||||
defines({
|
defines({
|
||||||
"_LIB",
|
"_LIB",
|
||||||
})
|
})
|
||||||
|
|
|
||||||
2
third_party/dxbc.lua
vendored
2
third_party/dxbc.lua
vendored
|
|
@ -3,8 +3,6 @@ project("dxbc")
|
||||||
uuid("c96688ca-51ca-406e-aeef-068734a67abe")
|
uuid("c96688ca-51ca-406e-aeef-068734a67abe")
|
||||||
kind("StaticLib")
|
kind("StaticLib")
|
||||||
language("C++")
|
language("C++")
|
||||||
links({
|
|
||||||
})
|
|
||||||
defines({
|
defines({
|
||||||
"_LIB",
|
"_LIB",
|
||||||
})
|
})
|
||||||
|
|
|
||||||
7
third_party/fmt.lua
vendored
7
third_party/fmt.lua
vendored
|
|
@ -3,16 +3,9 @@ project("fmt")
|
||||||
uuid("b9ff4b2c-b438-42a9-971e-e0c19a711a13")
|
uuid("b9ff4b2c-b438-42a9-971e-e0c19a711a13")
|
||||||
kind("StaticLib")
|
kind("StaticLib")
|
||||||
language("C++")
|
language("C++")
|
||||||
links({
|
|
||||||
})
|
|
||||||
defines({
|
defines({
|
||||||
"_LIB",
|
"_LIB",
|
||||||
})
|
})
|
||||||
-- filter({"configurations:Release", "platforms:Windows"})
|
|
||||||
-- buildoptions({
|
|
||||||
-- "/O1",
|
|
||||||
-- })
|
|
||||||
-- filter {}
|
|
||||||
|
|
||||||
includedirs({
|
includedirs({
|
||||||
"fmt/include",
|
"fmt/include",
|
||||||
|
|
|
||||||
9
third_party/glslang-spirv.lua
vendored
9
third_party/glslang-spirv.lua
vendored
|
|
@ -3,18 +3,9 @@ project("glslang-spirv")
|
||||||
uuid("1cc8f45e-91e2-4daf-a55e-666bf8b5e6b2")
|
uuid("1cc8f45e-91e2-4daf-a55e-666bf8b5e6b2")
|
||||||
kind("StaticLib")
|
kind("StaticLib")
|
||||||
language("C++")
|
language("C++")
|
||||||
links({
|
|
||||||
})
|
|
||||||
defines({
|
defines({
|
||||||
"_LIB",
|
"_LIB",
|
||||||
})
|
})
|
||||||
includedirs({
|
|
||||||
})
|
|
||||||
-- filter({"configurations:Release", "platforms:Windows"})
|
|
||||||
-- buildoptions({
|
|
||||||
-- "/O1",
|
|
||||||
-- })
|
|
||||||
-- filter {}
|
|
||||||
|
|
||||||
files({
|
files({
|
||||||
"glslang/SPIRV/bitutils.h",
|
"glslang/SPIRV/bitutils.h",
|
||||||
|
|
|
||||||
7
third_party/imgui.lua
vendored
7
third_party/imgui.lua
vendored
|
|
@ -3,19 +3,12 @@ project("imgui")
|
||||||
uuid("ed9271c4-b0a1-42ef-8403-067b11bf49d0")
|
uuid("ed9271c4-b0a1-42ef-8403-067b11bf49d0")
|
||||||
kind("StaticLib")
|
kind("StaticLib")
|
||||||
language("C++")
|
language("C++")
|
||||||
links({
|
|
||||||
})
|
|
||||||
defines({
|
defines({
|
||||||
"_LIB",
|
"_LIB",
|
||||||
})
|
})
|
||||||
includedirs({
|
includedirs({
|
||||||
"imgui",
|
"imgui",
|
||||||
})
|
})
|
||||||
-- filter({"configurations:Release", "platforms:Windows"})
|
|
||||||
-- buildoptions({
|
|
||||||
-- "/O1",
|
|
||||||
-- })
|
|
||||||
-- filter{}
|
|
||||||
files({
|
files({
|
||||||
"imgui/imconfig.h",
|
"imgui/imconfig.h",
|
||||||
"imgui/imgui.cpp",
|
"imgui/imgui.cpp",
|
||||||
|
|
|
||||||
7
third_party/mspack.lua
vendored
7
third_party/mspack.lua
vendored
|
|
@ -27,10 +27,3 @@ project("mspack")
|
||||||
"mspack/system.c",
|
"mspack/system.c",
|
||||||
"mspack/system.h",
|
"mspack/system.h",
|
||||||
})
|
})
|
||||||
|
|
||||||
filter("platforms:Windows")
|
|
||||||
defines({
|
|
||||||
})
|
|
||||||
filter("platforms:Linux")
|
|
||||||
defines({
|
|
||||||
})
|
|
||||||
|
|
|
||||||
2
third_party/xxhash.lua
vendored
2
third_party/xxhash.lua
vendored
|
|
@ -3,8 +3,6 @@ project("xxhash")
|
||||||
uuid("40d4ce21-5448-4399-9f98-589b7e1c23b1")
|
uuid("40d4ce21-5448-4399-9f98-589b7e1c23b1")
|
||||||
kind("StaticLib")
|
kind("StaticLib")
|
||||||
language("C")
|
language("C")
|
||||||
links({
|
|
||||||
})
|
|
||||||
defines({
|
defines({
|
||||||
"_LIB",
|
"_LIB",
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue