Skip to content
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

Conan v2 template #88

Closed
friendlyanon opened this issue Feb 24, 2023 · 3 comments
Closed

Conan v2 template #88

friendlyanon opened this issue Feb 24, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@friendlyanon
Copy link
Owner

Conan v2 was released recently: https://blog.conan.io/2023/02/22/Conan-2.0.html

The v2 docs don't exactly have a single nice place with instructions on how to deal with profiles. I only looked for what seemed to be an obvious place to mention profiles and found this very brief introduction: https://docs.conan.io/2.0/tutorial/consuming_packages/build_simple_cmake_project.html

The command in there does not really work for the simplest use-case as demonstrated by this issue: conan-io/conan#13232
Maybe once this is fixed and there are better docs, I could start working on integrating Conan v2 into the templates.

@friendlyanon friendlyanon added the enhancement New feature or request label Feb 24, 2023
@friendlyanon
Copy link
Owner Author

This page seems to be sufficiently complete in explaining how to setup profiles and use them: https://docs.conan.io/2/reference/config_files/profiles.html

friendlyanon added a commit that referenced this issue Mar 5, 2023
@friendlyanon
Copy link
Owner Author

I have commits offline that are waiting to be pushed once conan-io/conan-center-index#16394 is merged to close this.

@friendlyanon
Copy link
Owner Author

This is waiting for conan-io/conan#13414 to be resolved hopefully in Conan 2.0.3

friendlyanon added a commit that referenced this issue Mar 18, 2023
I would prefer the default_options method to work over passing the
options argument to test_requires, however I'm too impatient to wait for
upstream to fix it. I might just replace this again with the
default_options method once Conan 2.0.3 or whatever version fixes this
comes out.

Fixes: #88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant