Remove stb from thirdparty and use xmake instead

This commit is contained in:
Jérôme Leclercq
2021-05-29 19:28:01 +02:00
parent b657cde5b5
commit 9d1c821a16
8 changed files with 8 additions and 8660 deletions

View File

@@ -64,8 +64,8 @@ local modules = {
Deps = {"NazaraUtility"}
},
Utility = {
Deps = {"stb_image", "NazaraCore"},
Packages = {"freetype"}
Deps = {"NazaraCore"},
Packages = {"freetype", "stb"}
},
VulkanRenderer = {
Deps = {"NazaraRenderer"},
@@ -86,7 +86,7 @@ local modules = {
add_repositories("local-repo xmake-repo")
add_requires("chipmunk2d", "freetype", "libsndfile", "libsdl")
add_requires("chipmunk2d", "freetype", "libsndfile", "libsdl", "stb")
add_requires("newtondynamics", { debug = is_plat("windows") and is_mode("debug") }) -- Newton doesn't like compiling in Debug on Linux
set_project("NazaraEngine")
@@ -123,8 +123,6 @@ if is_plat("windows") then
add_cxflags("/wd4251") -- Disable warning: class needs to have dll-interface to be used by clients of class blah blah blah
end
includes("thirdparty/xmake.lua")
for name, module in pairs(modules) do
target("Nazara" .. name)