zengine/engine/xmake/rule_plugin/xmake.lua

8 lines
242 B
Lua
Raw Normal View History

2024-07-20 18:04:19 +08:00
rule("engine.plugin")
set_extensions(".h")
2024-08-03 17:56:38 +08:00
on_config(function (target)
2024-07-20 18:04:19 +08:00
import("make_plugin")
local file = target:extraconf("rules", "engine.plugin", "file")
2024-11-24 16:16:35 +08:00
make_plugin(target, file or "module.h")
2024-07-31 10:48:28 +08:00
end)