summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")
+