diff options
| author | ruki <[email protected]> | 2024-04-02 22:49:44 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-04-02 22:49:44 +0800 |
| commit | f0cb5ad5d4aa420151f87ad497656bc68be182da (patch) | |
| tree | 4180f030d8245945a5802bdeec247d25e5ef138a /xmake/rules/module/xmake.lua | |
| parent | 6953ca0c43ff4cb08fc9f76eabb5415a892e5167 (diff) | |
call binary module
Diffstat (limited to 'xmake/rules/module/xmake.lua')
| -rw-r--r-- | xmake/rules/module/xmake.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/rules/module/xmake.lua b/xmake/rules/module/xmake.lua index a3bc9b54f..dd2f810fe 100644 --- a/xmake/rules/module/xmake.lua +++ b/xmake/rules/module/xmake.lua @@ -22,6 +22,7 @@ rule("module.binary") on_load(function (target) import("core.project.config") target:set("kind", "binary") + target:set("basename", "module_" .. target:name()) target:set("targetdir", config.buildir()) end) @@ -29,6 +30,7 @@ rule("module.shared") on_load(function (target) import("core.project.config") target:set("kind", "shared") + target:set("basename", "module_" .. target:name()) target:set("targetdir", config.buildir()) end) |
