We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can use this feature set_base to override the partial configuration of builtin package in xmake-repo.
set_base
for example: override package urls, ...
package("myzlib") set_base("zlib") set_urls("https://github.com/madler/zlib.git") package_end() add_requires("myzlib", {system = false, alias = "zlib"}) target("test") set_kind("binary") add_files("src/*.c") add_packages("zlib")
like this, an alias package(onetbb -> tbb): https://github.com/xmake-io/xmake-repo/blob/master/packages/o/onetbb/xmake.lua
package("onetbb", {base = "tbb"})
or
package("onetbb") set_base("tbb")
xmake.lua
add_requires("onetbb")
Related issues: #2010
The text was updated successfully, but these errors were encountered:
Does this mean we can also add versions without making a PR?
Sorry, something went wrong.
You can do it, but I still hope you can open pr to help update the package versions in the repository.
No branches or pull requests
I can use this feature
set_baseto override the partial configuration of builtin package in xmake-repo.Override package configuration
for example: override package urls, ...
Define alias package in repositories
like this, an alias package(onetbb -> tbb): https://github.com/xmake-io/xmake-repo/blob/master/packages/o/onetbb/xmake.lua
or
xmake.lua
Related issues: #2010
The text was updated successfully, but these errors were encountered: