blob: e96999a1389ae1e3fa92719078c33a71ff61c9d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
-- 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("lib")
-- set kind
set_kind("shared")
-- add files
add_files("src/lib.cu")
add_includedirs("inc", {public = true})
target("bin")
add_deps("lib")
set_kind("binary")
add_files("src/main.cu")
|