Hunter passwords fileΒΆ

Hunter passwords file is a CMake module where user can set passwords for accessing protected sources using hunter_http_password function and for specifying uploading parameters using hunter_upload_password function.


This feature is available only if version of CMake is 3.7+

Hunter will look for next paths (sorted by priority):

  • Path specified by HUNTER_PASSWORDS_PATH CMake variable
  • Path specified by HUNTER_PASSWORDS_PATH environment variable
  • Path based on HOME environment variable: $ENV{HOME}/.config/Hunter/passwords.cmake (including Windows hosts)
  • Path based on USERPROFILE environment variable: $ENV{USERPROFILE}/.config/Hunter/passwords.cmake (Windows only hosts)