Files
CMake/Help/prop_tgt/FASTBUILD_DISTRIBUTION.rst
T
Eduard Voronkin a8e64742aa FASTBuild: allow disabling of caching / distribution
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.
2025-09-03 12:42:55 -04:00

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``.