CMAKE_CONFIG_DIR.rst 517 B

123456789101112131415161718
  1. CMAKE_CONFIG_DIR
  2. ----------------
  3. .. versionadded:: 3.31
  4. .. include:: include/ENV_VAR.rst
  5. Specify a CMake user-wide configuration directory for
  6. :manual:`cmake-file-api(7)` queries.
  7. If this environment variable is not set, the default user-wide
  8. configuration directory is platform-specific:
  9. - Windows: ``%LOCALAPPDATA%\CMake``
  10. - macOS: ``$XDG_CONFIG_HOME/CMake`` if set, otherwise
  11. ``$HOME/Library/Application Support/CMake``
  12. - Linux/Other: ``$XDG_CONFIG_HOME/cmake`` if set, otherwise
  13. ``$HOME/.config/cmake``