diff options
| author | ruki <[email protected]> | 2021-09-27 22:35:24 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-27 22:35:24 +0800 |
| commit | 9128fe7d5b84a27831ae2535a16547bb0b9b7d8e (patch) | |
| tree | 299f6a0ff0c871ca149cf327ef9665bae55e6f31 /tests/projects/swig/lua_c/xmake.lua | |
| parent | d00138d98064b84db0c76dde99587b5ea425fdf4 (diff) | |
add lua_c swig test
Diffstat (limited to 'tests/projects/swig/lua_c/xmake.lua')
| -rw-r--r-- | tests/projects/swig/lua_c/xmake.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/projects/swig/lua_c/xmake.lua b/tests/projects/swig/lua_c/xmake.lua new file mode 100644 index 000000000..fc6e3dd7b --- /dev/null +++ b/tests/projects/swig/lua_c/xmake.lua @@ -0,0 +1,8 @@ +add_rules("mode.release", "mode.debug") +add_requires("lua") + +target("example") + add_rules("swig.c") + add_files("src/example.i", {moduletype = "lua", scriptdir = "share"}) + add_files("src/example.c") + add_packages("lua") |
