mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
Merge topic 'initial_cuda_language_support'
4cc601f2Help: Add release note for CUDA support7b9131daCUDA: Add tests to verify CUDA compiler works properly.9cf5b98dCUDA: Prefer environment variables CUDACXX and CUDAHOSTCXX.a5e806b3CUDA: Add support for CMAKE_CUDA_COMPILE_OPTIONS_VISIBILITYd038559eCUDA: Add separable compilation support to the makefile generator.43ce4414CUDA: Add separable compilation support to the ninja generator.4b316097CUDA: Add support for the CUDA_SEPARABLE_COMPILATION target propertyae05fcc6CUDA: Add LinkLineComputer that computes cuda dlink lines.115269a8CUDA: Refactor cmLinkLineComputer to allow for better derived children.5dec4031CUDA: Refactor CMakeCUDAInformation to prepare for separable compilation.5b20d0abCUDA: C++ compile features now enable cuda c++11 support.489c52ceCUDA: Use the host compiler for linking CUDA executables and shared libs.bbaf2434CUDA: add support for specifying an explicit host compiler.a92f8d96CUDA: Enable header dependency scanning.ec6ce623CUDA: State that cuda has preprocessor output and can generate assembly.4f5155f6CUDA: We now properly perform CUDA compiler identification. ...
This commit is contained in:
@@ -143,6 +143,7 @@ Properties on Targets
|
||||
/prop_tgt/CONFIG_OUTPUT_NAME
|
||||
/prop_tgt/CONFIG_POSTFIX
|
||||
/prop_tgt/CROSSCOMPILING_EMULATOR
|
||||
/prop_tgt/CUDA_SEPARABLE_COMPILATION
|
||||
/prop_tgt/CXX_EXTENSIONS
|
||||
/prop_tgt/CXX_STANDARD
|
||||
/prop_tgt/CXX_STANDARD_REQUIRED
|
||||
|
||||
@@ -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)
|
||||
@@ -0,0 +1,6 @@
|
||||
CUDA-language-support
|
||||
---------------------
|
||||
|
||||
* CMake learned to support CUDA as a first-class language.
|
||||
It is supported by the :ref:`Makefile Generators` and the
|
||||
:generator:`Ninja` generator.
|
||||
Reference in New Issue
Block a user