summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorstar-hengxing <[email protected]>2022-11-04 15:16:23 +0800
committerstar-hengxing <[email protected]>2022-11-04 15:16:23 +0800
commitde83803cdb0c2ab94fbcd203f831602c7d418fe1 (patch)
tree0b9555fd961a724d1ebdd55c7a889f9421160319 /tests
parentf3e2f3cda0372e4d64c2aa83b1fd5c101e349417 (diff)
improve utils.ispc
Diffstat (limited to 'tests')
-rw-r--r--tests/projects/other/ispc/xmake.lua14
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")
-