From 0a65e25c02c36764ba09e5051565d41a137bd0b5 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 23 Dec 2021 22:34:53 +0800 Subject: add python.library rule --- tests/projects/pybind/example/xmake.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/projects/pybind/example/xmake.lua (limited to 'tests/projects/pybind/example/xmake.lua') diff --git a/tests/projects/pybind/example/xmake.lua b/tests/projects/pybind/example/xmake.lua new file mode 100644 index 000000000..19b7b5a9e --- /dev/null +++ b/tests/projects/pybind/example/xmake.lua @@ -0,0 +1,8 @@ +add_rules("mode.release", "mode.debug") +add_requires("pybind11") + +target("example") + add_rules("python.library") + add_files("src/*.cpp") + add_packages("pybind11") + set_languages("c++11") -- cgit v1.3.1