From f56ef583d3c8ecda7725ca04b48011c9081a7349 Mon Sep 17 00:00:00 2001 From: Aleksey Gurtovoy Date: Fri, 4 Oct 2019 18:34:02 -0500 Subject: dependency('cuda') --- docs/markdown/snippets/cuda_dependency.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docs/markdown/snippets/cuda_dependency.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/cuda_dependency.md b/docs/markdown/snippets/cuda_dependency.md new file mode 100644 index 0000000..1cc9ae6 --- /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. -- cgit v1.1