diff options
| author | ruki <[email protected]> | 2021-09-27 22:40:17 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-27 22:40:17 +0800 |
| commit | c223db1bdd7e90d970b378e6d6755e977ceb4c6d (patch) | |
| tree | b0c16bbc54861f930a043f4a586d989a27532636 /tests/projects/swig/python_cpp | |
| parent | 9128fe7d5b84a27831ae2535a16547bb0b9b7d8e (diff) | |
improve swig
Diffstat (limited to 'tests/projects/swig/python_cpp')
| -rw-r--r-- | tests/projects/swig/python_cpp/xmake.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/projects/swig/python_cpp/xmake.lua b/tests/projects/swig/python_cpp/xmake.lua index f0c322310..1aa612211 100644 --- a/tests/projects/swig/python_cpp/xmake.lua +++ b/tests/projects/swig/python_cpp/xmake.lua @@ -2,7 +2,7 @@ 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_rules("swig.cpp", {moduletype = "python"}) + add_files("src/example.i", {scriptdir = "share"}) add_files("src/example.cpp") add_packages("python") |
