代码之家  ›  专栏  ›  技术社区  ›  senseiwa

覆盖Conan存储目录

  •  0
  • senseiwa  · 技术社区  · 8 年前

    我正在尝试使用 conan 对于一个虚拟C++项目(语言无关),但我不喜欢弄乱用户的主目录。默认情况下, conan install ~/conan/data ~/conan/conan.conf

    [storage]
    # This is the default path, but you can write your own. It must be an absolute path or a
    # path beginning with "~" (if the environment var CONAN_USER_HOME is specified, this directory, even
    # with "~/", will be relative to the conan user home, not to the system user home)
    path = ~/.conan/data
    

    有办法去吗

    我试图添加一个 [storage]

    0 回复  |  直到 8 年前