diff options
| author | ruki <[email protected]> | 2021-11-10 23:12:50 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-11-10 23:12:50 +0800 |
| commit | 4d457bd1f9f8e1c899d14e67439d13cf3de2b510 (patch) | |
| tree | 9a741bbdc142d720fe1dd9baa0bca044a001d4ad /tests/projects/rust/shared_library/xmake.lua | |
| parent | bc404bc6481de0c934aa5ff4523924688b72a2d4 (diff) | |
add shared library for rust
Diffstat (limited to 'tests/projects/rust/shared_library/xmake.lua')
| -rw-r--r-- | tests/projects/rust/shared_library/xmake.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/projects/rust/shared_library/xmake.lua b/tests/projects/rust/shared_library/xmake.lua new file mode 100644 index 000000000..edacfe4d6 --- /dev/null +++ b/tests/projects/rust/shared_library/xmake.lua @@ -0,0 +1,12 @@ +add_rules("mode.debug", "mode.release") + +target("foo") + set_kind("shared") + add_files("src/foo.rs") + +target("test") + set_kind("binary") + add_deps("foo") + add_files("src/main.rs") + + |
