diff options
| author | star-hengxing <[email protected]> | 2022-11-03 20:05:00 +0800 |
|---|---|---|
| committer | star-hengxing <[email protected]> | 2022-11-03 20:05:00 +0800 |
| commit | f3e2f3cda0372e4d64c2aa83b1fd5c101e349417 (patch) | |
| tree | 5bc753bc80b0c024cc3b33dcb197a2e8ca5a73ec /tests/projects/other/ispc/xmake.lua | |
| parent | 60b8a7e7b06b4f964c07a8e784832883c3073a83 (diff) | |
add ispc
Diffstat (limited to 'tests/projects/other/ispc/xmake.lua')
| -rw-r--r-- | tests/projects/other/ispc/xmake.lua | 16 |
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") + |
