Giter VIP home page Giter VIP logo

Comments (5)

waruqi avatar waruqi commented on June 12, 2024

xmake repo 仅用于 xmake.lua 所有本地工程中仓库追加,你都用了 xrepo-cmake 了,在自己 cmake 工程中,没有任何 xmake 工程存在,根本缓存不了本地信息,你只能用 xrepo 访问全局仓库。。

因为 cmake 编译不归 xmake 管,这个时候,cmake 只能调用 xrepo 独立的包管理命令,没有 xmake 工程什么事情。

from xrepo-cmake.

nqf avatar nqf commented on June 12, 2024

非常感谢

还有一个问题, 为什么 xmake 不能删除 build-artifacts xmake-repo builtin-repo, 因为我已经添加我的私有仓库到全局, 所以我想删除其它仓库

☁  build [master] ⚡  xrepo rm-repo build-artifacts 
error: repository(build-artifacts): not found!
error: execv(xmake repo --remove --global build-artifacts) failed(255)
☁  build [master] ⚡  xrepo rm-repo xmake-repo              
error: repository(xmake-repo): not found!
error: execv(xmake repo --remove --global xmake-repo) failed(255)

from xrepo-cmake.

waruqi avatar waruqi commented on June 12, 2024

没必要删,你添加了自己的仓库,包都会优先从你的仓库中找,只有找不到 才会走内置仓库。

from xrepo-cmake.

nqf avatar nqf commented on June 12, 2024

没必要删,你添加了自己的仓库,包都会优先从你的仓库中找,只有找不到 才会走内置仓库。

如果我设置多个 私有仓库, 它的查找顺序是什么? 比如 add private a, add private b, 它的查找顺序 是 a仓库->b 仓库->内置仓库 吗?

from xrepo-cmake.

waruqi avatar waruqi commented on June 12, 2024

没必要删,你添加了自己的仓库,包都会优先从你的仓库中找,只有找不到 才会走内置仓库。

如果我设置多个 私有仓库, 它的查找顺序是什么? 比如 add private a, add private b, 它的查找顺序 是 a仓库->b 仓库->内置仓库 吗?

最后添加的优先找, b -> a -> builtin

from xrepo-cmake.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.