diff options
| author | Aleksey Gurtovoy <agurtovoy@acm.org> | 2019-10-04 18:34:02 -0500 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-11-05 22:17:44 +0200 |
| commit | f56ef583d3c8ecda7725ca04b48011c9081a7349 (patch) | |
| tree | dca107fce3c6cafa32e575406020be827b6197fa /docs/markdown/snippets | |
| parent | 11f1adb7ddc800b8c016f3ee40e979a377ba9c01 (diff) | |
| download | meson-f56ef583d3c8ecda7725ca04b48011c9081a7349.tar.gz | |
dependency('cuda')
Diffstat (limited to 'docs/markdown/snippets')
| -rw-r--r-- | docs/markdown/snippets/cuda_dependency.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/markdown/snippets/cuda_dependency.md b/docs/markdown/snippets/cuda_dependency.md new file mode 100644 index 000000000..1cc9ae60f --- /dev/null +++ b/docs/markdown/snippets/cuda_dependency.md @@ -0,0 +1,11 @@ +## CUDA dependency + +Native support for compiling and linking against the CUDA Toolkit using +the `dependency` function: + +```meson +project('CUDA test', 'cpp', meson_version: '>= 0.53.0') +exe = executable('prog', 'prog.cc', dependencies: dependency('cuda')) +``` + +See [the CUDA dependency](Dependencies.md#cuda) for more information. |
