|
|
@@ -27,6 +27,19 @@ This writes a FASTBuild configuration file named ``fbuild.bff`` into
|
|
|
These IDE files can be generated by building ``xcode`` or ``solution`` targets
|
|
|
and will build using FASTBuild as the backend.
|
|
|
|
|
|
+Caching
|
|
|
+-------
|
|
|
+
|
|
|
+To enable FASTBuild caching, set the cache path using the
|
|
|
+:variable:`CMAKE_FASTBUILD_CACHE_PATH` variable or the
|
|
|
+``FASTBUILD_CACHE_PATH`` environment variable.
|
|
|
+
|
|
|
+Then build with the ``-cache`` flag:
|
|
|
+
|
|
|
+.. code-block:: console
|
|
|
+
|
|
|
+ cmake --build <path-to-build> -- -cache
|
|
|
+
|
|
|
Configuration Variables
|
|
|
-----------------------
|
|
|
|