diff options
Diffstat (limited to 'xmake/templates/cuda/shared/project/xmake.lua')
| -rw-r--r-- | xmake/templates/cuda/shared/project/xmake.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xmake/templates/cuda/shared/project/xmake.lua b/xmake/templates/cuda/shared/project/xmake.lua index ceef4438d..8f854764f 100644 --- a/xmake/templates/cuda/shared/project/xmake.lua +++ b/xmake/templates/cuda/shared/project/xmake.lua @@ -3,14 +3,11 @@ add_rules("mode.debug", "mode.release") -- define target -target("[targetname]") +target("${TARGETNAME}") -- set kind set_kind("shared") - -- add modes: debug and release - add_rules("mode.debug", "mode.release") - -- add include dirs add_includedirs("inc") @@ -34,3 +31,5 @@ target("[targetname]") -- -- generate PTX code from the highest SM architecture to guarantee forward-compatibility -- add_cugencodes("compute_75") + +${FAQ} |
