diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2016-12-02 21:56:12 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2016-12-12 19:39:32 (GMT) |
commit | 1371eec4c38b0a3b83f1416774c6c213ad0db6fc (patch) | |
tree | 7cdc524fe87bc18ddeb67f923f639881e1f0c07e /Help/policy/CMP0067.rst | |
parent | 3d3d3f94703e23d3d2cbff67537057474e3e0ff1 (diff) | |
download | CMake-1371eec4c38b0a3b83f1416774c6c213ad0db6fc.zip CMake-1371eec4c38b0a3b83f1416774c6c213ad0db6fc.tar.gz CMake-1371eec4c38b0a3b83f1416774c6c213ad0db6fc.tar.bz2 |
try_compile: extend CMP0067 to honor language standards for CUDA.
Diffstat (limited to 'Help/policy/CMP0067.rst')
-rw-r--r-- | Help/policy/CMP0067.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Help/policy/CMP0067.rst b/Help/policy/CMP0067.rst index d52ba7f..e6dda80 100644 --- a/Help/policy/CMP0067.rst +++ b/Help/policy/CMP0067.rst @@ -8,7 +8,7 @@ callers to check whether they will be able to compile a given source file with the current toolchain. In order to match compiler behavior, any language standard mode should match. However, CMake 3.7 and below did not do this. CMake 3.8 and above prefer to honor the language standard settings -for ``C`` and ``CXX`` (C++) using the values of the variables: +for ``C``, ``CXX`` (C++), and ``CUDA`` using the values of the variables: * :variable:`CMAKE_C_STANDARD` * :variable:`CMAKE_C_STANDARD_REQUIRED` @@ -16,6 +16,9 @@ for ``C`` and ``CXX`` (C++) using the values of the variables: * :variable:`CMAKE_CXX_STANDARD` * :variable:`CMAKE_CXX_STANDARD_REQUIRED` * :variable:`CMAKE_CXX_EXTENSIONS` +* :variable:`CMAKE_CUDA_STANDARD` +* :variable:`CMAKE_CUDA_STANDARD_REQUIRED` +* :variable:`CMAKE_CUDA_EXTENSIONS` This policy provides compatibility for projects that do not expect the language standard settings to be used automatically. |