From 5a582e2c201ecfb7a5eeb68a126e4842a2391cd2 Mon Sep 17 00:00:00 2001 From: "Wu, Zhenyu" Date: Sun, 12 Jan 2025 14:42:05 +0800 Subject: Add rule python.cython Add test python/cython/example Move test pybind to python/pybind --- tests/projects/python/pybind/example_with_soabi/xmake.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/projects/python/pybind/example_with_soabi/xmake.lua (limited to 'tests/projects/python/pybind/example_with_soabi/xmake.lua') diff --git a/tests/projects/python/pybind/example_with_soabi/xmake.lua b/tests/projects/python/pybind/example_with_soabi/xmake.lua new file mode 100644 index 000000000..12d8ad334 --- /dev/null +++ b/tests/projects/python/pybind/example_with_soabi/xmake.lua @@ -0,0 +1,8 @@ +add_rules("mode.release", "mode.debug") +add_requires("pybind11") + +target("example") + add_rules("python.library", {soabi = true}) + add_files("src/*.cpp") + add_packages("pybind11") + set_languages("c++11") -- cgit v1.3.1