summaryrefslogtreecommitdiff
path: root/tests/projects/cuda/console_2/xmake.lua
blob: 2c445d7e3f8cf1aa761173543a34da1ec5e414dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

-- add modes: debug and release
add_rules("mode.debug", "mode.release")

-- generate PTX code for the virtual architecture to guarantee compatibility
add_cugencodes("compute_30")

-- define target
target("bin")

    -- set kind
    set_kind("binary")

    add_cuflags("-rdc=true")

    add_includedirs("inc")

    -- add files
    add_files("src/*.cu")