summaryrefslogtreecommitdiff
path: root/tests/projects/other/ispc/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/other/ispc/xmake.lua')
-rw-r--r--tests/projects/other/ispc/xmake.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/projects/other/ispc/xmake.lua b/tests/projects/other/ispc/xmake.lua
new file mode 100644
index 000000000..a7311abec
--- /dev/null
+++ b/tests/projects/other/ispc/xmake.lua
@@ -0,0 +1,16 @@
+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_files("src/*.cpp")
+