[premake] Cleanup
This commit is contained in:
5
third_party/SDL2-static.lua
vendored
5
third_party/SDL2-static.lua
vendored
@@ -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",
|
||||
|
||||
11
third_party/capstone.lua
vendored
11
third_party/capstone.lua
vendored
@@ -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",
|
||||
})
|
||||
|
||||
4
third_party/discord-rpc.lua
vendored
4
third_party/discord-rpc.lua
vendored
@@ -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"
|
||||
})
|
||||
})
|
||||
|
||||
2
third_party/dxbc.lua
vendored
2
third_party/dxbc.lua
vendored
@@ -3,8 +3,6 @@ project("dxbc")
|
||||
uuid("c96688ca-51ca-406e-aeef-068734a67abe")
|
||||
kind("StaticLib")
|
||||
language("C++")
|
||||
links({
|
||||
})
|
||||
defines({
|
||||
"_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")
|
||||
kind("StaticLib")
|
||||
language("C++")
|
||||
links({
|
||||
})
|
||||
defines({
|
||||
"_LIB",
|
||||
})
|
||||
-- filter({"configurations:Release", "platforms:Windows"})
|
||||
-- buildoptions({
|
||||
-- "/O1",
|
||||
-- })
|
||||
-- filter {}
|
||||
|
||||
includedirs({
|
||||
"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")
|
||||
kind("StaticLib")
|
||||
language("C++")
|
||||
links({
|
||||
})
|
||||
defines({
|
||||
"_LIB",
|
||||
})
|
||||
includedirs({
|
||||
})
|
||||
-- filter({"configurations:Release", "platforms:Windows"})
|
||||
-- buildoptions({
|
||||
-- "/O1",
|
||||
-- })
|
||||
-- filter {}
|
||||
|
||||
files({
|
||||
"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")
|
||||
kind("StaticLib")
|
||||
language("C++")
|
||||
links({
|
||||
})
|
||||
defines({
|
||||
"_LIB",
|
||||
})
|
||||
includedirs({
|
||||
"imgui",
|
||||
})
|
||||
-- filter({"configurations:Release", "platforms:Windows"})
|
||||
-- buildoptions({
|
||||
-- "/O1",
|
||||
-- })
|
||||
-- filter{}
|
||||
files({
|
||||
"imgui/imconfig.h",
|
||||
"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.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")
|
||||
kind("StaticLib")
|
||||
language("C")
|
||||
links({
|
||||
})
|
||||
defines({
|
||||
"_LIB",
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user