mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-08-02 08:53:44 +08:00
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
480 B
ReStructuredText
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``.
|