summaryrefslogtreecommitdiff
path: root/Help
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2017-09-26 09:25:35 -0400
committerBrad King <brad.king@kitware.com>2017-09-26 11:08:09 -0400
commitfe37b99473df00b69beede10ad4ed2472c375d4d (patch)
treeb8663cee56ee7d7412ea0b8a6be2ddac477cad71 /Help
parent95df03a1d44d48b5407dd0ddc9e618ce2f17762b (diff)
downloadcmake-fe37b99473df00b69beede10ad4ed2472c375d4d.tar.gz
CUDA: Add support for requesting C++98 under CUDA 9
Starting in CUDA 9 the default compilation mode is C++14, and you need to explicitly enable C++98/03 mode. While at it, document `14` among the values for `CUDA_STANDARD`. This was accidentally left out of commit v3.9.0-rc1~118^2 (CUDA: Add support for the C++14 standard flag, 2017-05-11).
Diffstat (limited to 'Help')
-rw-r--r--Help/prop_tgt/CUDA_STANDARD.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/prop_tgt/CUDA_STANDARD.rst b/Help/prop_tgt/CUDA_STANDARD.rst
index b262814719..a3a2f56891 100644
--- a/Help/prop_tgt/CUDA_STANDARD.rst
+++ b/Help/prop_tgt/CUDA_STANDARD.rst
@@ -7,7 +7,7 @@ This property specifies the CUDA/C++ standard whose features are requested
to build this target. For some compilers, this results in adding a
flag such as ``-std=gnu++11`` to the compile line.
-Supported values are ``98``, ``11``.
+Supported values are ``98``, ``11``, ``14``.
If the value requested does not result in a compile flag being added for
the compiler in use, a previous standard flag will be added instead. This