Conan.conf文件的目录是: ~/.conan/

    1. [log]
    2. run_to_output = True # environment CONAN_LOG_RUN_TO_OUTPUT
    3. run_to_file = False # environment CONAN_LOG_RUN_TO_FILE
    4. level = critical # environment CONAN_LOGGING_LEVEL
    5. # trace_file = # environment CONAN_TRACE_FILE
    6. print_run_commands = False # environment CONAN_PRINT_RUN_COMMANDS
    7. [general]
    8. default_profile = default
    9. compression_level = 9 # environment CONAN_COMPRESSION_LEVEL
    10. sysrequires_sudo = True # environment CONAN_SYSREQUIRES_SUDO
    11. request_timeout = 60 # environment CONAN_REQUEST_TIMEOUT (seconds)
    12. default_package_id_mode = semver_direct_mode # environment CONAN_DEFAULT_PACKAGE_ID_MODE
    13. # parallel_download = 8 # experimental download binaries in parallel
    14. # full_transitive_package_id = 0
    15. # retry = 2 # environment CONAN_RETRY
    16. # retry_wait = 5 # environment CONAN_RETRY_WAIT (seconds)
    17. # sysrequires_mode = enabled # environment CONAN_SYSREQUIRES_MODE (allowed modes enabled/verify/disabled)
    18. # vs_installation_preference = Enterprise, Professional, Community, BuildTools # environment CONAN_VS_INSTALLATION_PREFERENCE
    19. # verbose_traceback = False # environment CONAN_VERBOSE_TRACEBACK
    20. # error_on_override = False # environment CONAN_ERROR_ON_OVERRIDE
    21. # bash_path = "" # environment CONAN_BASH_PATH (only windows)
    22. # read_only_cache = True # environment CONAN_READ_ONLY_CACHE
    23. # cache_no_locks = True # environment CONAN_CACHE_NO_LOCKS
    24. # user_home_short = your_path # environment CONAN_USER_HOME_SHORT
    25. # use_always_short_paths = False # environment CONAN_USE_ALWAYS_SHORT_PATHS
    26. # skip_vs_projects_upgrade = False # environment CONAN_SKIP_VS_PROJECTS_UPGRADE
    27. # non_interactive = False # environment CONAN_NON_INTERACTIVE
    28. # skip_broken_symlinks_check = False # enviornment CONAN_SKIP_BROKEN_SYMLINKS_CHECK
    29. # revisions_enabled = False # environment CONAN_REVISIONS_ENABLED
    30. # conan_make_program = make # environment CONAN_MAKE_PROGRAM (overrides the make program used in AutoToolsBuildEnvironment.make)
    31. # conan_cmake_program = cmake # environment CONAN_CMAKE_PROGRAM (overrides the make program used in CMake.cmake_program)
    32. # cmake_generator # environment CONAN_CMAKE_GENERATOR
    33. # cmake_generator_platform # environment CONAN_CMAKE_GENERATOR_PLATFORM
    34. # http://www.vtk.org/Wiki/CMake_Cross_Compiling
    35. # cmake_toolchain_file # environment CONAN_CMAKE_TOOLCHAIN_FILE
    36. # cmake_system_name # environment CONAN_CMAKE_SYSTEM_NAME
    37. # cmake_system_version # environment CONAN_CMAKE_SYSTEM_VERSION
    38. # cmake_system_processor # environment CONAN_CMAKE_SYSTEM_PROCESSOR
    39. # cmake_find_root_path # environment CONAN_CMAKE_FIND_ROOT_PATH
    40. # cmake_find_root_path_mode_program # environment CONAN_CMAKE_FIND_ROOT_PATH_MODE_PROGRAM
    41. # cmake_find_root_path_mode_library # environment CONAN_CMAKE_FIND_ROOT_PATH_MODE_LIBRARY
    42. # cmake_find_root_path_mode_include # environment CONAN_CMAKE_FIND_ROOT_PATH_MODE_INCLUDE
    43. # msbuild_verbosity = minimal # environment CONAN_MSBUILD_VERBOSITY
    44. # cpu_count = 1 # environment CONAN_CPU_COUNT
    45. # Change the default location for building test packages to a temporary folder
    46. # which is deleted after the test.
    47. # temp_test_folder = True # environment CONAN_TEMP_TEST_FOLDER
    48. # cacert_path # environment CONAN_CACERT_PATH
    49. # scm_to_conandata # environment CONAN_SCM_TO_CONANDATA
    50. # config_install_interval = 1h
    51. # required_conan_version = >=1.26
    52. [storage]
    53. # This is the default path, but you can write your own. It must be an absolute path or a
    54. # path beginning with "~" (if the environment var CONAN_USER_HOME is specified, this directory, even
    55. # with "~/", will be relative to the conan user home, not to the system user home)
    56. path = ./data
    57. # download_cache = /path/to/my/cache
    58. [proxies]
    59. # Empty (or missing) section will try to use system proxies.
    60. # As documented in https://requests.readthedocs.io/en/master/user/advanced/#proxies - but see below
    61. # for proxies to specific hosts
    62. # http = http://user:pass@10.10.1.10:3128/
    63. # http = http://10.10.1.10:3128
    64. # https = http://10.10.1.10:1080
    65. # To specify a proxy for a specific host or hosts, use multiple lines each specifying host = proxy-spec
    66. # http =
    67. # hostname.to.be.proxied.com = http://user:pass@10.10.1.10:3128
    68. # You can skip the proxy for the matching (fnmatch) urls (comma-separated)
    69. # no_proxy_match = *bintray.com*, https://myserver.*
    70. [hooks] # environment CONAN_HOOKS
    71. attribute_checker
    72. # Default settings now declared in the default profile