aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cuda.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-09-21 18:17:16 -0700
committerDylan Baker <dylan@pnwbakers.com>2020-10-01 15:05:00 -0700
commitfe97977b00e2b3c0fec9bc85aa0bf3e11559802a (patch)
tree578ddd7e5967e27ef89ae5605d3780ba828dd05b /mesonbuild/compilers/cuda.py
parent96a1ae6dfe9209d907803b9f2ecca29d2047a47f (diff)
downloadmeson-fe97977b00e2b3c0fec9bc85aa0bf3e11559802a.zip
meson-fe97977b00e2b3c0fec9bc85aa0bf3e11559802a.tar.gz
meson-fe97977b00e2b3c0fec9bc85aa0bf3e11559802a.tar.bz2
compilers/cpp: Add type annotations
Diffstat (limited to 'mesonbuild/compilers/cuda.py')
-rw-r--r--mesonbuild/compilers/cuda.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/cuda.py b/mesonbuild/compilers/cuda.py
index 482d504..b227ad3 100644
--- a/mesonbuild/compilers/cuda.py
+++ b/mesonbuild/compilers/cuda.py
@@ -184,7 +184,7 @@ class CudaCompiler(Compiler):
overrides = {name: opt.value for name, opt in options.copy().items()}
return OptionOverrideProxy(overrides, self.host_compiler.get_options())
- def get_option_compile_args(self, options):
+ def get_option_compile_args(self, options: 'OptionDictType') -> T.List[str]:
args = []
# On Windows, the version of the C++ standard used by nvcc is dictated by
# the combination of CUDA version and MSVC version; the --std= is thus ignored