update editor
This commit is contained in:
parent
546e7c5c5f
commit
cad187038c
2
engine/3rdparty/xmake.lua
vendored
2
engine/3rdparty/xmake.lua
vendored
@ -1,4 +1,4 @@
|
|||||||
add_requires("spdlog", "lemon", "libsdl", "vulkansdk","shaderc","spirv","spirv-cross")
|
add_requires("spdlog", "lemon", "libsdl", "vulkansdk","shaderc","spirv","spirv-cross")
|
||||||
add_requires("mimalloc", {configs = {shared = true, debug = true, copy = true}})
|
add_requires("mimalloc", {configs = {shared = true, debug = true, copy = true}})
|
||||||
add_requires("imgui",{configs = { shared = false, debug = true, copy = true}})
|
add_requires("imgui")
|
||||||
includes("*/xmake.lua")
|
includes("*/xmake.lua")
|
||||||
@ -5,7 +5,7 @@ function main(target)
|
|||||||
local link = pkg:get("links")
|
local link = pkg:get("links")
|
||||||
local targetdir = target:targetdir()
|
local targetdir = target:targetdir()
|
||||||
link = link[1] or link
|
link = link[1] or link
|
||||||
if link and not os.isfile(path.join(targetdir, link .. ".lib")) then
|
if link and os.isdir(targetdir) and not os.isfile(path.join(targetdir, link .. ".lib")) then
|
||||||
local linkdirs = pkg:get("linkdirs")
|
local linkdirs = pkg:get("linkdirs")
|
||||||
os.trycp(linkdirs.."/*", targetdir)
|
os.trycp(linkdirs.."/*", targetdir)
|
||||||
print("copy",linkdirs, targetdir)
|
print("copy",linkdirs, targetdir)
|
||||||
|
|||||||
@ -32,6 +32,9 @@ function add_gen_dir(target)
|
|||||||
return sourcedir
|
return sourcedir
|
||||||
end
|
end
|
||||||
function main(target, file)
|
function main(target, file)
|
||||||
|
if true then
|
||||||
|
return
|
||||||
|
end
|
||||||
local sourcedir = add_gen_dir(target)
|
local sourcedir = add_gen_dir(target)
|
||||||
local genfile = path.join(sourcedir, target:name() .. ".plugin.inl")
|
local genfile = path.join(sourcedir, target:name() .. ".plugin.inl")
|
||||||
local dependfile = target:dependfile(genfile)
|
local dependfile = target:dependfile(genfile)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user