-
Notifications
You must be signed in to change notification settings - Fork 985
New issue
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
[question][Conan 2.0] what's the correct way of obtaining the list of settings for a package in conancenter? #13343
Comments
You can get pretty similar results with $ conan list "zlib/1.2.13:*" -r conancenter
conancenter
zlib
zlib/1.2.13
revisions
13c96f538b52e1600c40b88994de240f (2022-11-02 13:46:53 UTC)
packages
d62dff20d86436b9c58ddc0162499d197be9de1e
info
settings
arch: x86_64
build_type: Release
compiler: apple-clang
compiler.version: 13
os: Macos
options
fPIC: True
shared: False
abe5e2b04ea92ce2ee91bc9834317dbe66628206
info
settings
arch: x86_64
build_type: Release
compiler: gcc
compiler.version: 11
os: Linux
options
shared: True
ae9eaf478e918e6470fe64a4d8d4d9552b0b3606
info
settings
arch: x86_64
build_type: Release
compiler: msvc
compiler.runtime: dynamic
compiler.runtime_type: Release
compiler.version: 192
os: Windows
options
shared: True
41ad450120fdab2266b1185a967d298f7ae52595
info
settings
arch: x86_64
build_type: Release
compiler: msvc
compiler.runtime: dynamic
compiler.runtime_type: Release
compiler.version: 192
os: Windows
options
shared: False
76864d438e6a53828b8769476a7b57a241d91b69
info
settings
arch: x86_64
build_type: Release
compiler: msvc
compiler.runtime: static
compiler.runtime_type: Release
compiler.version: 192
os: Windows
options
shared: False
24612164eb0760405fcd237df0102e554ed1cb2f
info
settings
arch: x86_64
build_type: Release
compiler: apple-clang
compiler.version: 13
os: Macos
options
shared: True
a3c9d80d887539fac38b81ff8cd4585fe42027e0
info
settings
arch: armv8
build_type: Release
compiler: apple-clang
compiler.version: 13
os: Macos
options
shared: True
b647c43bfefae3f830561ca202b6cfd935b56205
info
settings
arch: x86_64
build_type: Release
compiler: gcc
compiler.version: 11
os: Linux
options
fPIC: True
shared: False
dbb40f41e6e9a5c4a9a1fd8d9e6ccf6d92676c92
info
settings
arch: armv8
build_type: Release
compiler: apple-clang
compiler.version: 13
os: Macos
options
fPIC: True
shared: False |
Doesn't work for sdl:
|
Oh, yes, sorry about that, I didn't look at the recipe itself. With Conan 2 being out for just a few weeks, some recipes are not yet migrated to the newer version, and so won't show packages in Conan v2, because none has yet been built for it. Luckily, sdl2 has a few PRs in the pipeline to migrate it, namely conan-io/conan-center-index#16266. Once merged, packages for sdl will show up with their options. We just opened the CI services from a planned maintenance, so the backlog of PRs that the CI needs to process has increased a bit, but it should get addressed shortly™️ |
I see. Thanks! I do have a workaround for this with
and luckily I can make it a custom subcommand for myself with 2.0 features. Although I wish I didn't have to, and having such information without need to download recipe first sounds like a good feature :) |
Recent work for |
What is your question?
In 1.X, you could see the available options for the upstream package at least by search the full reference:
I couldn't find any way to get the list of options in 2.0. I need that in order to understand how can I configure the dependencies for my project.
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: