diff options
| author | ruki <[email protected]> | 2018-08-28 22:36:39 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-08-28 09:39:57 +0800 |
| commit | b8d96694e9fae19c96a9579ccea4333522cc7f7f (patch) | |
| tree | d87ce11fbabf583472ce600812781e7e149b284e /tests/projects/package/basic/xmake.lua | |
| parent | 38af3ecd45ca1c806a584a9b49eb442e3ac21dcb (diff) | |
remote fetch git refs for require action
Diffstat (limited to 'tests/projects/package/basic/xmake.lua')
| -rw-r--r-- | tests/projects/package/basic/xmake.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/projects/package/basic/xmake.lua b/tests/projects/package/basic/xmake.lua new file mode 100644 index 000000000..098a04575 --- /dev/null +++ b/tests/projects/package/basic/xmake.lua @@ -0,0 +1,19 @@ + +-- requires +add_requires("zlib >=1.2.11", "tbox ~1.6.0", "pcre2") + +-- add modes +add_rules("mode.debug", "mode.release") + +-- add target +target("console") + + -- set kind + set_kind("binary") + + -- add files + add_files("src/*.c") + + -- add packages + add_packages("tbox", "zlib", "pcre2") + |
