diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2017-02-08 21:51:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-10 21:08:06 (GMT) |
commit | 44f3acb202c316bc6a863a1823aaafae486c899a (patch) | |
tree | 58969a6efd466eee165d0e288cb7f15778242783 /Help/variable/CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES.rst | |
parent | 84df4a49500e51ac6e2a19a77e385e66234386f7 (diff) | |
download | CMake-44f3acb202c316bc6a863a1823aaafae486c899a.zip CMake-44f3acb202c316bc6a863a1823aaafae486c899a.tar.gz CMake-44f3acb202c316bc6a863a1823aaafae486c899a.tar.bz2 |
CUDA: Detect the toolkit include directories
The `nvcc -v` output provides what include directories need to be added
to use the CUDA toolkit from other languages ( C/C++ ).
Diffstat (limited to 'Help/variable/CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES.rst')
-rw-r--r-- | Help/variable/CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES.rst b/Help/variable/CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES.rst new file mode 100644 index 0000000..768f571 --- /dev/null +++ b/Help/variable/CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES.rst @@ -0,0 +1,7 @@ +CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES +-------------------------------------- + +When the ``CUDA`` language has been enabled, this provides a +:ref:`;-list <CMake Language Lists>` of include directories provided +by the CUDA Toolkit. The value may be useful for C++ source files +to include CUDA headers. |