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