diff options
| author | star-hengxing <[email protected]> | 2022-11-04 15:16:23 +0800 |
|---|---|---|
| committer | star-hengxing <[email protected]> | 2022-11-04 15:16:23 +0800 |
| commit | de83803cdb0c2ab94fbcd203f831602c7d418fe1 (patch) | |
| tree | 0b9555fd961a724d1ebdd55c7a889f9421160319 /tests | |
| parent | f3e2f3cda0372e4d64c2aa83b1fd5c101e349417 (diff) | |
improve utils.ispc
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/projects/other/ispc/xmake.lua | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/tests/projects/other/ispc/xmake.lua b/tests/projects/other/ispc/xmake.lua index a7311abec..577c6798b 100644 --- a/tests/projects/other/ispc/xmake.lua +++ b/tests/projects/other/ispc/xmake.lua @@ -1,16 +1,8 @@ add_rules("mode.debug", "mode.release") -includes("ispc.lua") - -target("test_ispc") - set_kind("object") - add_rules("utils.ispc", {header_extension = "_ispc.h"}) - add_files("src/*.ispc") - set_values("ispc.flags", "--target=host") - set_policy("build.across_targets_in_parallel", false) - target("test") set_kind("binary") - add_deps("test_ispc") + add_rules("utils.ispc", {header_extension = "_ispc.h"}) + set_values("ispc.flags", "--target=host") + add_files("src/*.ispc") add_files("src/*.cpp") - |
