From 6707844c34b10b2cbb7844838c886e9aa315f415 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 26 May 2020 00:14:24 +0800 Subject: fix cuda rules --- xmake/rules/cuda/xmake.lua | 8 ++++++++ 1 file changed, 8 insertions(+) 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") + -- cgit v1.3.1