summaryrefslogtreecommitdiff
path: root/xmake/rules/cuda/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-06-07 00:37:22 +0800
committerruki <[email protected]>2019-06-06 21:44:15 +0800
commitd1d8b6736904134159bc6271ca1cbd26d7796ca7 (patch)
treec7a9dbb2275ee04b4bc731b684f855f0017320bc /xmake/rules/cuda/xmake.lua
parent2a1919432128b99ff7623a55ba9d323cb6e10bab (diff)
move cuda gencodes rule
Diffstat (limited to 'xmake/rules/cuda/xmake.lua')
-rw-r--r--xmake/rules/cuda/xmake.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/rules/cuda/xmake.lua b/xmake/rules/cuda/xmake.lua
index 54d3f4215..2f3564f63 100644
--- a/xmake/rules/cuda/xmake.lua
+++ b/xmake/rules/cuda/xmake.lua
@@ -22,7 +22,7 @@
rule("cuda.static")
-- add rules
- add_deps("cuda.device_link")
+ add_deps("cuda.device_link", "cuda.gencodes")
-- we must set kind before target.on_load(), may we will use target in on_load()
before_load(function (target)
@@ -33,7 +33,7 @@ rule("cuda.static")
rule("cuda.shared")
-- add rules
- add_deps("cuda.device_link")
+ add_deps("cuda.device_link", "cuda.gencodes")
-- we must set kind before target.on_load(), may we will use target in on_load()
before_load(function (target)
@@ -44,7 +44,7 @@ rule("cuda.shared")
rule("cuda.console")
-- add rules
- add_deps("cuda.device_link")
+ add_deps("cuda.device_link", "cuda.gencodes")
-- we must set kind before target.on_load(), may we will use target in on_load()
before_load(function (target)