summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-05-26 00:14:24 +0800
committerruki <[email protected]>2020-05-25 19:26:24 +0800
commit6707844c34b10b2cbb7844838c886e9aa315f415 (patch)
tree57091cd04f1c819a528ac62d0539eddf4222df11
parent154dce70f1019d51040fea6c0d4f8314bb68cb79 (diff)
fix cuda rules
-rw-r--r--xmake/rules/cuda/xmake.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/xmake/rules/cuda/xmake.lua b/xmake/rules/cuda/xmake.lua
index 914ac25a5..af4c2c972 100644
--- a/xmake/rules/cuda/xmake.lua
+++ b/xmake/rules/cuda/xmake.lua
@@ -26,5 +26,13 @@ rule("cuda.build")
-- define rule: cuda
rule("cuda")
+
+ -- add build rules
add_deps("cuda.build", "cuda.gencodes")
+ -- inherit links and linkdirs of all dependent targets by default
+ add_deps("utils.inherit.links")
+
+ -- check targets
+ add_deps("utils.check.targets")
+