/
niceSOFT
/
cmake
Обзор
Документация
Войти
/
niceSOFT
/
cmake
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Help/variable/CACHE.rst
20 строк
709 B
Kitware Robot
Help: Add Sphinx 'versionadded' directives to each top-level document
06 июл 2020, 17:23
06 июл 2020, 17:23
496ec60
Код
Авторство
О чём код?
CACHE ----- .. versionadded:: 3.13 Operator to read cache variables. Use the syntax ``$CACHE{VAR}`` to read cache entry ``VAR``. See the :ref:`cmake-language(7) variables <CMake Language Variables>` documentation for more complete documentation of the interaction of normal variables and cache entries. When evaluating :ref:`Variable References` of the form ``${VAR}``, CMake first searches for a normal variable with that name, and if not found CMake will search for a cache entry with that name. The ``$CACHE{VAR}`` syntax can be used to do direct cache lookup and ignore any existing normal variable. See the :command:`set` and :command:`unset` commands to see how to write or remove cache variables.