From c3b4b1882e06d80e2a3d2a81e4be594803d56c39 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 24 Sep 2021 22:45:56 +0800 Subject: install swig scripts --- tests/projects/swig/python_cpp/xmake.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/projects/swig/python_cpp/xmake.lua (limited to 'tests/projects/swig/python_cpp/xmake.lua') diff --git a/tests/projects/swig/python_cpp/xmake.lua b/tests/projects/swig/python_cpp/xmake.lua new file mode 100644 index 000000000..f0c322310 --- /dev/null +++ b/tests/projects/swig/python_cpp/xmake.lua @@ -0,0 +1,8 @@ +add_rules("mode.release", "mode.debug") +add_requires("python 3.x") + +target("example") + add_rules("swig.cpp") + add_files("src/example.i", {moduletype = "python", scriptdir = "share"}) + add_files("src/example.cpp") + add_packages("python") -- cgit v1.3.1