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

Upgrade from Conan 1.x to 2.x #4417

Merged
merged 21 commits into from
Apr 2, 2023
Merged

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Feb 27, 2023

Pull request checklist:

  • CHANGELOG.md was updated, if applicable

Description

This PR adds support for Conan 2.0 and drops support for Conan 1.0.

There are a frew things that changed. The most important one is that the import method has been removed, which means that we will have to use conanfile.py over conanfile.txt. The other changes are mainly to the arguments and config-locations.

As Conan 2.0 is not yet available on Chocolatey, the Windows build will fail. Conan 2.0 is now available on Chocolatey.

I changed the version of the dependencies as well, since the cache will need to be regenerated anyway. I also removed a relic from the crashpad PR that created two cache-keys (with and without crashpad).

Either #4413 should update the documentation or it has to be updated here if #4413 gets merged before.

@Nerixyz Nerixyz mentioned this pull request Mar 6, 2023
1 task
@pajlada pajlada changed the title Use/Support Conan 2.0 Upgrade from Conan 1.x to 2.x Apr 2, 2023
@pajlada pajlada enabled auto-merge (squash) April 2, 2023 10:24
@pajlada pajlada merged commit 281bddb into Chatterino:master Apr 2, 2023
@Nerixyz Nerixyz deleted the build/conan2 branch April 2, 2023 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants