summaryrefslogtreecommitdiff
path: root/tests/projects/python/cython/example/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-05-16 10:15:19 +0800
committerGitHub <[email protected]>2025-05-16 10:15:19 +0800
commit9375cff987bea0a04e9772f72d266757925ff112 (patch)
tree90e359b1226f176a19431cc6c8d31d9e13c83542 /tests/projects/python/cython/example/xmake.lua
parentc6e3ca7ac7633bfa40d8a33150d88505819477de (diff)
parent43088a77832349076bb796159d5a885065773d7f (diff)
Merge pull request #6061 from Freed-Wu/cython
Add rule python.cython
Diffstat (limited to 'tests/projects/python/cython/example/xmake.lua')
-rw-r--r--tests/projects/python/cython/example/xmake.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/projects/python/cython/example/xmake.lua b/tests/projects/python/cython/example/xmake.lua
new file mode 100644
index 000000000..f7461dbc2
--- /dev/null
+++ b/tests/projects/python/cython/example/xmake.lua
@@ -0,0 +1,7 @@
+add_rules("mode.debug", "mode.release")
+add_requires("python 3.x")
+
+target("example")
+ add_rules("python.cython")
+ add_files("src/*.py")
+ add_packages("python")