cmake/Help/prop_tgt/FASTBUILD_CACHING.rst
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
480 B
ReStructuredText

FASTBUILD_CACHING
-----------------
.. versionadded:: 4.2
A target property that controls whether caching is enabled for the given
target in the generated ``fbuild.bff``.
If set to ``OFF``, the :generator:`FASTBuild` generator disables caching
features for this target. This is useful for targets that are known to be
unreliably cached or not worth caching.
Example:
.. code-block:: cmake
set_property(TARGET my_target PROPERTY FASTBUILD_CACHING OFF)
Defaults to ``ON``.