mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
9784834b4c
So, editor(s) can correctly highlight the RST syntax in the included files.
19 lines
517 B
ReStructuredText
19 lines
517 B
ReStructuredText
CMAKE_CONFIG_DIR
|
|
----------------
|
|
|
|
.. versionadded:: 3.31
|
|
|
|
.. include:: include/ENV_VAR.rst
|
|
|
|
Specify a CMake user-wide configuration directory for
|
|
:manual:`cmake-file-api(7)` queries.
|
|
|
|
If this environment variable is not set, the default user-wide
|
|
configuration directory is platform-specific:
|
|
|
|
- Windows: ``%LOCALAPPDATA%\CMake``
|
|
- macOS: ``$XDG_CONFIG_HOME/CMake`` if set, otherwise
|
|
``$HOME/Library/Application Support/CMake``
|
|
- Linux/Other: ``$XDG_CONFIG_HOME/cmake`` if set, otherwise
|
|
``$HOME/.config/cmake``
|