summaryrefslogtreecommitdiffstats
path: root/Modules/FindCUDA.cmake
diff options
context:
space:
mode:
authorJoachim Wuttke (o) <j.wuttke@fz-juelich.de>2018-10-25 10:23:33 (GMT)
committerJoachim Wuttke (o) <j.wuttke@fz-juelich.de>2018-10-25 10:23:33 (GMT)
commit19998d7b3cb69a4f30d1e151471706b02102e16d (patch)
tree9a225d6723094ae525d918281a42a361747c588f /Modules/FindCUDA.cmake
parentdc1bb335781abb9a6ffe3f40b413978c81050023 (diff)
downloadCMake-19998d7b3cb69a4f30d1e151471706b02102e16d.zip
CMake-19998d7b3cb69a4f30d1e151471706b02102e16d.tar.gz
CMake-19998d7b3cb69a4f30d1e151471706b02102e16d.tar.bz2
Help: Use 'deprecated' template, and date deprecation of modules
Diffstat (limited to 'Modules/FindCUDA.cmake')
-rw-r--r--Modules/FindCUDA.cmake29
1 files changed, 16 insertions, 13 deletions
diff --git a/Modules/FindCUDA.cmake b/Modules/FindCUDA.cmake
index 2c8dd81..0f5cab4 100644
--- a/Modules/FindCUDA.cmake
+++ b/Modules/FindCUDA.cmake
@@ -2,19 +2,22 @@
FindCUDA
--------
-.. note::
-
- The FindCUDA module has been superseded by first-class support
- for the CUDA language in CMake. It is no longer necessary to
- use this module or call ``find_package(CUDA)``. This module
- now exists only for compatibility with projects that have not
- been ported.
-
- Instead, list ``CUDA`` among the languages named in the top-level
- call to the :command:`project` command, or call the
- :command:`enable_language` command with ``CUDA``.
- Then one can add CUDA (``.cu``) sources to programs directly
- in calls to :command:`add_library` and :command:`add_executable`.
+.. deprecated:: 3.10
+
+ Superseded by first-class support for the CUDA language in CMake.
+
+Replacement
+^^^^^^^^^^^
+
+It is no longer necessary to use this module or call ``find_package(CUDA)``.
+Instead, list ``CUDA`` among the languages named in the top-level
+call to the :command:`project` command, or call the
+:command:`enable_language` command with ``CUDA``.
+Then one can add CUDA (``.cu``) sources to programs directly
+in calls to :command:`add_library` and :command:`add_executable`.
+
+Documentation of Deprecated Usage
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Tools for building CUDA C files: libraries and build dependencies.