mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[premake] More cleanup
This commit is contained in:
parent
3b3c41ab2a
commit
43d206d2e9
16
premake5.lua
16
premake5.lua
|
|
@ -32,10 +32,7 @@ defines({
|
||||||
|
|
||||||
cdialect("C17")
|
cdialect("C17")
|
||||||
cppdialect("C++20")
|
cppdialect("C++20")
|
||||||
--exceptionhandling("On")
|
|
||||||
--rtti("On")
|
|
||||||
symbols("On")
|
symbols("On")
|
||||||
--characterset("Unicode")
|
|
||||||
fatalwarnings("All")
|
fatalwarnings("All")
|
||||||
|
|
||||||
-- TODO(DrChat): Find a way to disable this on other architectures.
|
-- TODO(DrChat): Find a way to disable this on other architectures.
|
||||||
|
|
@ -71,6 +68,9 @@ filter({"configurations:Checked or Debug", "platforms:Linux"})
|
||||||
"_GLIBCXX_DEBUG", -- libstdc++ debug mode
|
"_GLIBCXX_DEBUG", -- libstdc++ debug mode
|
||||||
})
|
})
|
||||||
|
|
||||||
|
filter({"configurations:Checked or Debug", "platforms:Windows"})
|
||||||
|
symbols("Full")
|
||||||
|
|
||||||
filter("configurations:Debug")
|
filter("configurations:Debug")
|
||||||
runtime("Release")
|
runtime("Release")
|
||||||
optimize("Off")
|
optimize("Off")
|
||||||
|
|
@ -79,11 +79,6 @@ filter("configurations:Debug")
|
||||||
"_NO_DEBUG_HEAP=1",
|
"_NO_DEBUG_HEAP=1",
|
||||||
})
|
})
|
||||||
|
|
||||||
--filter({"configurations:Debug", "platforms:Linux"})
|
|
||||||
-- defines({
|
|
||||||
-- "_GLIBCXX_DEBUG", -- make dbg symbols work on some distros
|
|
||||||
-- })
|
|
||||||
|
|
||||||
filter("configurations:Release")
|
filter("configurations:Release")
|
||||||
runtime("Release")
|
runtime("Release")
|
||||||
defines({
|
defines({
|
||||||
|
|
@ -91,7 +86,6 @@ filter("configurations:Release")
|
||||||
"_NO_DEBUG_HEAP=1",
|
"_NO_DEBUG_HEAP=1",
|
||||||
})
|
})
|
||||||
optimize("Speed")
|
optimize("Speed")
|
||||||
symbols("Off")
|
|
||||||
flags({
|
flags({
|
||||||
"NoBufferSecurityCheck"
|
"NoBufferSecurityCheck"
|
||||||
})
|
})
|
||||||
|
|
@ -104,9 +98,11 @@ filter("configurations:Release")
|
||||||
-- (such as constant propagation) emulation as predictable as possible,
|
-- (such as constant propagation) emulation as predictable as possible,
|
||||||
-- including handling of specials since games make assumptions about them.
|
-- including handling of specials since games make assumptions about them.
|
||||||
|
|
||||||
|
filter({"configurations:Release", "platforms:not Windows"})
|
||||||
|
symbols("Off")
|
||||||
|
|
||||||
filter({"configurations:Release", "platforms:Windows"}) -- "toolset:msc"
|
filter({"configurations:Release", "platforms:Windows"}) -- "toolset:msc"
|
||||||
linktimeoptimization("On")
|
linktimeoptimization("On")
|
||||||
symbols("On")
|
|
||||||
buildoptions({
|
buildoptions({
|
||||||
"/Gw",
|
"/Gw",
|
||||||
"/Ob3",
|
"/Ob3",
|
||||||
|
|
|
||||||
3
third_party/aes_128.lua
vendored
3
third_party/aes_128.lua
vendored
|
|
@ -3,9 +3,6 @@ project("aes_128")
|
||||||
uuid("b50458bf-dd83-4c1a-8cad-61f5fbbfd720")
|
uuid("b50458bf-dd83-4c1a-8cad-61f5fbbfd720")
|
||||||
kind("StaticLib")
|
kind("StaticLib")
|
||||||
language("C")
|
language("C")
|
||||||
defines({
|
|
||||||
"_LIB",
|
|
||||||
})
|
|
||||||
includedirs({
|
includedirs({
|
||||||
"aes_128",
|
"aes_128",
|
||||||
})
|
})
|
||||||
|
|
|
||||||
1
third_party/capstone.lua
vendored
1
third_party/capstone.lua
vendored
|
|
@ -7,7 +7,6 @@ project("capstone")
|
||||||
"CAPSTONE_X86_ATT_DISABLE",
|
"CAPSTONE_X86_ATT_DISABLE",
|
||||||
"CAPSTONE_HAS_X86",
|
"CAPSTONE_HAS_X86",
|
||||||
"CAPSTONE_USE_SYS_DYN_MEM",
|
"CAPSTONE_USE_SYS_DYN_MEM",
|
||||||
"_LIB",
|
|
||||||
})
|
})
|
||||||
|
|
||||||
includedirs({
|
includedirs({
|
||||||
|
|
|
||||||
3
third_party/discord-rpc.lua
vendored
3
third_party/discord-rpc.lua
vendored
|
|
@ -3,9 +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++")
|
||||||
defines({
|
|
||||||
"_LIB",
|
|
||||||
})
|
|
||||||
includedirs({
|
includedirs({
|
||||||
"discord-rpc/include",
|
"discord-rpc/include",
|
||||||
"rapidjson/include"
|
"rapidjson/include"
|
||||||
|
|
|
||||||
3
third_party/dxbc.lua
vendored
3
third_party/dxbc.lua
vendored
|
|
@ -3,9 +3,6 @@ project("dxbc")
|
||||||
uuid("c96688ca-51ca-406e-aeef-068734a67abe")
|
uuid("c96688ca-51ca-406e-aeef-068734a67abe")
|
||||||
kind("StaticLib")
|
kind("StaticLib")
|
||||||
language("C++")
|
language("C++")
|
||||||
defines({
|
|
||||||
"_LIB",
|
|
||||||
})
|
|
||||||
includedirs({
|
includedirs({
|
||||||
"dxbc",
|
"dxbc",
|
||||||
})
|
})
|
||||||
|
|
|
||||||
3
third_party/fmt.lua
vendored
3
third_party/fmt.lua
vendored
|
|
@ -3,9 +3,6 @@ project("fmt")
|
||||||
uuid("b9ff4b2c-b438-42a9-971e-e0c19a711a13")
|
uuid("b9ff4b2c-b438-42a9-971e-e0c19a711a13")
|
||||||
kind("StaticLib")
|
kind("StaticLib")
|
||||||
language("C++")
|
language("C++")
|
||||||
defines({
|
|
||||||
"_LIB",
|
|
||||||
})
|
|
||||||
|
|
||||||
includedirs({
|
includedirs({
|
||||||
"fmt/include",
|
"fmt/include",
|
||||||
|
|
|
||||||
3
third_party/glslang-spirv.lua
vendored
3
third_party/glslang-spirv.lua
vendored
|
|
@ -3,9 +3,6 @@ project("glslang-spirv")
|
||||||
uuid("1cc8f45e-91e2-4daf-a55e-666bf8b5e6b2")
|
uuid("1cc8f45e-91e2-4daf-a55e-666bf8b5e6b2")
|
||||||
kind("StaticLib")
|
kind("StaticLib")
|
||||||
language("C++")
|
language("C++")
|
||||||
defines({
|
|
||||||
"_LIB",
|
|
||||||
})
|
|
||||||
|
|
||||||
files({
|
files({
|
||||||
"glslang/SPIRV/bitutils.h",
|
"glslang/SPIRV/bitutils.h",
|
||||||
|
|
|
||||||
3
third_party/imgui.lua
vendored
3
third_party/imgui.lua
vendored
|
|
@ -3,9 +3,6 @@ project("imgui")
|
||||||
uuid("ed9271c4-b0a1-42ef-8403-067b11bf49d0")
|
uuid("ed9271c4-b0a1-42ef-8403-067b11bf49d0")
|
||||||
kind("StaticLib")
|
kind("StaticLib")
|
||||||
language("C++")
|
language("C++")
|
||||||
defines({
|
|
||||||
"_LIB",
|
|
||||||
})
|
|
||||||
includedirs({
|
includedirs({
|
||||||
"imgui",
|
"imgui",
|
||||||
})
|
})
|
||||||
|
|
|
||||||
3
third_party/libusb.lua
vendored
3
third_party/libusb.lua
vendored
|
|
@ -3,9 +3,6 @@ project("libusb")
|
||||||
uuid("5f8b5485-fde5-4a42-8a13-8545fcf6d25b")
|
uuid("5f8b5485-fde5-4a42-8a13-8545fcf6d25b")
|
||||||
kind("StaticLib")
|
kind("StaticLib")
|
||||||
language("C")
|
language("C")
|
||||||
defines({
|
|
||||||
"_LIB",
|
|
||||||
})
|
|
||||||
includedirs({"libusb/libusb/"})
|
includedirs({"libusb/libusb/"})
|
||||||
|
|
||||||
files({
|
files({
|
||||||
|
|
|
||||||
1
third_party/mspack.lua
vendored
1
third_party/mspack.lua
vendored
|
|
@ -7,7 +7,6 @@ project("mspack")
|
||||||
"xenia-base",
|
"xenia-base",
|
||||||
})
|
})
|
||||||
defines({
|
defines({
|
||||||
"_LIB",
|
|
||||||
"HAVE_CONFIG_H",
|
"HAVE_CONFIG_H",
|
||||||
})
|
})
|
||||||
includedirs({
|
includedirs({
|
||||||
|
|
|
||||||
3
third_party/snappy.lua
vendored
3
third_party/snappy.lua
vendored
|
|
@ -4,9 +4,6 @@ project("snappy")
|
||||||
kind("StaticLib")
|
kind("StaticLib")
|
||||||
language("C++")
|
language("C++")
|
||||||
|
|
||||||
defines({
|
|
||||||
"_LIB",
|
|
||||||
})
|
|
||||||
files({
|
files({
|
||||||
"snappy/snappy-internal.h",
|
"snappy/snappy-internal.h",
|
||||||
"snappy/snappy-sinksource.cc",
|
"snappy/snappy-sinksource.cc",
|
||||||
|
|
|
||||||
3
third_party/xxhash.lua
vendored
3
third_party/xxhash.lua
vendored
|
|
@ -3,9 +3,6 @@ project("xxhash")
|
||||||
uuid("40d4ce21-5448-4399-9f98-589b7e1c23b1")
|
uuid("40d4ce21-5448-4399-9f98-589b7e1c23b1")
|
||||||
kind("StaticLib")
|
kind("StaticLib")
|
||||||
language("C")
|
language("C")
|
||||||
defines({
|
|
||||||
"_LIB",
|
|
||||||
})
|
|
||||||
includedirs({
|
includedirs({
|
||||||
"xxhash",
|
"xxhash",
|
||||||
})
|
})
|
||||||
|
|
|
||||||
3
third_party/zarchive.lua
vendored
3
third_party/zarchive.lua
vendored
|
|
@ -6,9 +6,6 @@ project("zarchive")
|
||||||
links({
|
links({
|
||||||
"zstd",
|
"zstd",
|
||||||
})
|
})
|
||||||
defines({
|
|
||||||
"_LIB",
|
|
||||||
})
|
|
||||||
includedirs({
|
includedirs({
|
||||||
"zarchive/include",
|
"zarchive/include",
|
||||||
"zstd/lib",
|
"zstd/lib",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue