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
for example: https://github.com/xmake-io/xmake/blob/deps/tests/projects/package/depconfigs/xmake.lua
add_requires("libpng", "libtiff", {system = false, configs = {vs_runtime = "MD"}}) add_requires("libwebp") add_requireconfs("libwebp", {system = false, configs = {shared = true, vs_runtime = "MD"}}) add_requireconfs("libpng.zlib", {system = false, configs = {cxflags = "-DTEST1"}, version = "1.2.10"}) add_requireconfs("libtiff.*|cmake", {system = false, configs = {cxflags = "-DTEST2"}}) add_requireconfs("libwebp.**|cmake", {system = false, configs = {cxflags = "-DTEST3"}})
pr: #1175
The text was updated successfully, but these errors were encountered:
and the configs of add_requires have a higher priority than add_requireconfs.
for example:
-- foo and bar will be debug mode add_requireconfs("*", {configs = {debug = false}}) add_requires("foo", "bar", {configs = {debug = true}})
Sorry, something went wrong.
we can also override the configs of add_requires
add_requires("zlib 1.2.11") add_requireconfs("zlib", {override = true, version = "1.2.10"})
we override the version of zlib to 1.2.10
No branches or pull requests
for example: https://github.com/xmake-io/xmake/blob/deps/tests/projects/package/depconfigs/xmake.lua
pr:
#1175
The text was updated successfully, but these errors were encountered: