mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
a8e64742aa
Compilation is complicated. Caching / distribution is even more complicated. Sometimes there are bugs (in compilers as well as in FASTBuild), so export the option to disable those features for CMake targets.
20 lines
530 B
ReStructuredText
20 lines
530 B
ReStructuredText
FASTBUILD_DISTRIBUTION
|
|
----------------------
|
|
|
|
.. versionadded:: 4.2
|
|
|
|
A target property that controls whether distribution is enabled for the given
|
|
target in the generated ``fbuild.bff``.
|
|
|
|
If set to ``OFF``, the :generator:`FASTBuild` generator disables distributed
|
|
compilation for this target. This can be helpful for targets that are fast to
|
|
build locally or are incompatible with distributed execution.
|
|
|
|
Example:
|
|
|
|
.. code-block:: cmake
|
|
|
|
set_property(TARGET my_target PROPERTY FASTBUILD_DISTRIBUTION OFF)
|
|
|
|
Defaults to ``ON``.
|