diff options
| author | ruki <[email protected]> | 2023-11-15 22:35:38 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-15 22:35:38 +0800 |
| commit | d52b2dd2892da95ec50080aead7c0098eddad27b (patch) | |
| tree | 3010c694ae1f5f4e62607325f2dd0486dab5ae01 /tests/plugins/pack/xmake.lua | |
| parent | 232d49f245224019a5c69a17702a3c3ad15d467e (diff) | |
install and uninstall package/dll
Diffstat (limited to 'tests/plugins/pack/xmake.lua')
| -rw-r--r-- | tests/plugins/pack/xmake.lua | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/plugins/pack/xmake.lua b/tests/plugins/pack/xmake.lua index 7111f13da..b5f8a4e21 100644 --- a/tests/plugins/pack/xmake.lua +++ b/tests/plugins/pack/xmake.lua @@ -3,14 +3,22 @@ add_rules("mode.debug", "mode.release") includes("@builtin/xpack") +add_requires("zlib", {configs = {shared = true}}) + target("test") set_kind("binary") add_files("src/*.cpp") +target("foo") + set_kind("shared") + add_files("src/*.cpp") + add_headerfiles("include/(*.h)") + add_packages("zlib") + xpack("test") set_formats("nsis") set_description("hello") - add_targets("test") + add_targets("test", "foo") set_basename("test-$(plat)-$(arch)-v$(version)") add_installfiles("src/(assets/*.png)", {prefixdir = "images"}) set_iconfile("src/assets/xmake.ico") |
