summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-12-12 16:57:06 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-12-12 16:57:18 (GMT)
commit4fb9c880425ade41735951347d4e7d004a4e1e47 (patch)
tree7792f6261e1c88c812b679633eab50fde7f27a90 /Source/cmake.h
parentbd855ffb5576c7ab2b3281e96a1aebaf825f9e97 (diff)
parent2467a2b3184595a87e93db510408fc14ddbaf3b9 (diff)
downloadCMake-4fb9c880425ade41735951347d4e7d004a4e1e47.zip
CMake-4fb9c880425ade41735951347d4e7d004a4e1e47.tar.gz
CMake-4fb9c880425ade41735951347d4e7d004a4e1e47.tar.bz2
Merge topic 'add_cuda_meta_compiler_features'
2467a2b318 CUDA: Add cuda meta-features (e.g. ``cuda_std_11``) support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3992
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 9e78436..02de4c1 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -746,4 +746,11 @@ private:
FOR_EACH_CXX11_FEATURE(F) \
FOR_EACH_CXX14_FEATURE(F)
+#define FOR_EACH_CUDA_FEATURE(F) \
+ F(cuda_std_03) \
+ F(cuda_std_11) \
+ F(cuda_std_14) \
+ F(cuda_std_17) \
+ F(cuda_std_20)
+
#endif