diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2016-11-09 20:39:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-14 21:40:48 (GMT) |
commit | 4b316097103e0f30220fd579bce28163d38458bf (patch) | |
tree | 41f6eaeac78241d46c3a889d7cbb76a796329799 /Help/prop_tgt/CUDA_SEPARABLE_COMPILATION.rst | |
parent | ae05fcc63f37b71cd9b07a2aade03a2a84fa22c4 (diff) | |
download | CMake-4b316097103e0f30220fd579bce28163d38458bf.zip CMake-4b316097103e0f30220fd579bce28163d38458bf.tar.gz CMake-4b316097103e0f30220fd579bce28163d38458bf.tar.bz2 |
CUDA: Add support for the CUDA_SEPARABLE_COMPILATION target property
Diffstat (limited to 'Help/prop_tgt/CUDA_SEPARABLE_COMPILATION.rst')
-rw-r--r-- | Help/prop_tgt/CUDA_SEPARABLE_COMPILATION.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Help/prop_tgt/CUDA_SEPARABLE_COMPILATION.rst b/Help/prop_tgt/CUDA_SEPARABLE_COMPILATION.rst new file mode 100644 index 0000000..1c7dd80 --- /dev/null +++ b/Help/prop_tgt/CUDA_SEPARABLE_COMPILATION.rst @@ -0,0 +1,13 @@ +CUDA_SEPARABLE_COMPILATION +-------------------------- + +CUDA only: Enables separate compilation of device code + +If set this will enable separable compilation for all CUDA files for +the given target. + +For instance: + +.. code-block:: cmake + + set_property(TARGET myexe PROPERTY CUDA_SEPARABLE_COMPILATION ON) |