diff options
| author | ruki <[email protected]> | 2021-10-18 21:02:26 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-10-18 21:02:26 +0800 |
| commit | 4e3967d123432b2352b450ed892fcb1b8f3b37d2 (patch) | |
| tree | 6fbd34ee82aff8e57cb779784a44de030dfa9c3e /tests/projects/c/unity_build/xmake.lua | |
| parent | 69ddff2a27199172659c9c823dabde8c4b004ae3 (diff) | |
rename to unity build
Diffstat (limited to 'tests/projects/c/unity_build/xmake.lua')
| -rw-r--r-- | tests/projects/c/unity_build/xmake.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/projects/c/unity_build/xmake.lua b/tests/projects/c/unity_build/xmake.lua new file mode 100644 index 000000000..447960db5 --- /dev/null +++ b/tests/projects/c/unity_build/xmake.lua @@ -0,0 +1,8 @@ +target("test") + set_kind("binary") + add_includedirs("src") + add_rules("c++.unity_build", {batchsize = 2}) + add_files("src/*.c", "src/*.cpp") + add_files("src/foo/*.c", {unity_group = "foo"}) + add_files("src/bar/*.c", {unity_group = "bar"}) + |
