diff options
| author | ruki <[email protected]> | 2021-09-24 22:41:45 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-24 22:41:45 +0800 |
| commit | c2f3f280bcfd82618590e9872ddce19b56940ab0 (patch) | |
| tree | 2a260f12d077ef75faa2d8293521ae42b47e6f6b /tests/projects/swig/python_c/xmake.lua | |
| parent | 286e9ba7ef2e83e5222dbaab40160b3c1ac967f5 (diff) | |
add swig.c and swig.cpp rules
Diffstat (limited to 'tests/projects/swig/python_c/xmake.lua')
| -rw-r--r-- | tests/projects/swig/python_c/xmake.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/projects/swig/python_c/xmake.lua b/tests/projects/swig/python_c/xmake.lua new file mode 100644 index 000000000..2b30079b6 --- /dev/null +++ b/tests/projects/swig/python_c/xmake.lua @@ -0,0 +1,8 @@ +add_rules("mode.release", "mode.debug") +add_requires("python 3.x") + +target("example") + add_rules("swig.c") + add_files("src/example.i", {moduletype = "python"}) + add_files("src/example.c") + add_packages("python") |
