[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")
|
||||
cppdialect("C++20")
|
||||
--exceptionhandling("On")
|
||||
--rtti("On")
|
||||
symbols("On")
|
||||
--characterset("Unicode")
|
||||
fatalwarnings("All")
|
||||
|
||||
-- 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
|
||||
})
|
||||
|
||||
filter({"configurations:Checked or Debug", "platforms:Windows"})
|
||||
symbols("Full")
|
||||
|
||||
filter("configurations:Debug")
|
||||
runtime("Release")
|
||||
optimize("Off")
|
||||
|
@ -79,11 +79,6 @@ filter("configurations:Debug")
|
|||
"_NO_DEBUG_HEAP=1",
|
||||
})
|
||||
|
||||
--filter({"configurations:Debug", "platforms:Linux"})
|
||||
-- defines({
|
||||
-- "_GLIBCXX_DEBUG", -- make dbg symbols work on some distros
|
||||
-- })
|
||||
|
||||
filter("configurations:Release")
|
||||
runtime("Release")
|
||||
defines({
|
||||
|
@ -91,7 +86,6 @@ filter("configurations:Release")
|
|||
"_NO_DEBUG_HEAP=1",
|
||||
})
|
||||
optimize("Speed")
|
||||
symbols("Off")
|
||||
flags({
|
||||
"NoBufferSecurityCheck"
|
||||
})
|
||||
|
@ -104,9 +98,11 @@ filter("configurations:Release")
|
|||
-- (such as constant propagation) emulation as predictable as possible,
|
||||
-- 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"
|
||||
linktimeoptimization("On")
|
||||
symbols("On")
|
||||
buildoptions({
|
||||
"/Gw",
|
||||
"/Ob3",
|
||||
|
|
|
@ -3,9 +3,6 @@ project("aes_128")
|
|||
uuid("b50458bf-dd83-4c1a-8cad-61f5fbbfd720")
|
||||
kind("StaticLib")
|
||||
language("C")
|
||||
defines({
|
||||
"_LIB",
|
||||
})
|
||||
includedirs({
|
||||
"aes_128",
|
||||
})
|
||||
|
|
|
@ -7,7 +7,6 @@ project("capstone")
|
|||
"CAPSTONE_X86_ATT_DISABLE",
|
||||
"CAPSTONE_HAS_X86",
|
||||
"CAPSTONE_USE_SYS_DYN_MEM",
|
||||
"_LIB",
|
||||
})
|
||||
|
||||
includedirs({
|
||||
|
|
|
@ -3,9 +3,6 @@ project("discord-rpc")
|
|||
uuid("012f6131-efc0-4abd-852d-a33640732d4c")
|
||||
kind("StaticLib")
|
||||
language("C++")
|
||||
defines({
|
||||
"_LIB",
|
||||
})
|
||||
includedirs({
|
||||
"discord-rpc/include",
|
||||
"rapidjson/include"
|
||||
|
|
|
@ -3,9 +3,6 @@ project("dxbc")
|
|||
uuid("c96688ca-51ca-406e-aeef-068734a67abe")
|
||||
kind("StaticLib")
|
||||
language("C++")
|
||||
defines({
|
||||
"_LIB",
|
||||
})
|
||||
includedirs({
|
||||
"dxbc",
|
||||
})
|
||||
|
|
|
@ -3,9 +3,6 @@ project("fmt")
|
|||
uuid("b9ff4b2c-b438-42a9-971e-e0c19a711a13")
|
||||
kind("StaticLib")
|
||||
language("C++")
|
||||
defines({
|
||||
"_LIB",
|
||||
})
|
||||
|
||||
includedirs({
|
||||
"fmt/include",
|
||||
|
|
|
@ -3,9 +3,6 @@ project("glslang-spirv")
|
|||
uuid("1cc8f45e-91e2-4daf-a55e-666bf8b5e6b2")
|
||||
kind("StaticLib")
|
||||
language("C++")
|
||||
defines({
|
||||
"_LIB",
|
||||
})
|
||||
|
||||
files({
|
||||
"glslang/SPIRV/bitutils.h",
|
||||
|
|
|
@ -3,9 +3,6 @@ project("imgui")
|
|||
uuid("ed9271c4-b0a1-42ef-8403-067b11bf49d0")
|
||||
kind("StaticLib")
|
||||
language("C++")
|
||||
defines({
|
||||
"_LIB",
|
||||
})
|
||||
includedirs({
|
||||
"imgui",
|
||||
})
|
||||
|
|
|
@ -3,9 +3,6 @@ project("libusb")
|
|||
uuid("5f8b5485-fde5-4a42-8a13-8545fcf6d25b")
|
||||
kind("StaticLib")
|
||||
language("C")
|
||||
defines({
|
||||
"_LIB",
|
||||
})
|
||||
includedirs({"libusb/libusb/"})
|
||||
|
||||
files({
|
||||
|
|
|
@ -7,7 +7,6 @@ project("mspack")
|
|||
"xenia-base",
|
||||
})
|
||||
defines({
|
||||
"_LIB",
|
||||
"HAVE_CONFIG_H",
|
||||
})
|
||||
includedirs({
|
||||
|
|
|
@ -4,9 +4,6 @@ project("snappy")
|
|||
kind("StaticLib")
|
||||
language("C++")
|
||||
|
||||
defines({
|
||||
"_LIB",
|
||||
})
|
||||
files({
|
||||
"snappy/snappy-internal.h",
|
||||
"snappy/snappy-sinksource.cc",
|
||||
|
|
|
@ -3,9 +3,6 @@ project("xxhash")
|
|||
uuid("40d4ce21-5448-4399-9f98-589b7e1c23b1")
|
||||
kind("StaticLib")
|
||||
language("C")
|
||||
defines({
|
||||
"_LIB",
|
||||
})
|
||||
includedirs({
|
||||
"xxhash",
|
||||
})
|
||||
|
|
|
@ -6,9 +6,6 @@ project("zarchive")
|
|||
links({
|
||||
"zstd",
|
||||
})
|
||||
defines({
|
||||
"_LIB",
|
||||
})
|
||||
includedirs({
|
||||
"zarchive/include",
|
||||
"zstd/lib",
|
||||
|
|
Loading…
Reference in New Issue