Skip to content

improvements deduce locations incubating cmakedeps#17594

Merged
franramirez688 merged 3 commits intoconan-io:develop2from
memsharded:feature/incubating_cmakedeps_improvements
Jan 21, 2025
Merged

improvements deduce locations incubating cmakedeps#17594
franramirez688 merged 3 commits intoconan-io:develop2from
memsharded:feature/incubating_cmakedeps_improvements

Conversation

@memsharded
Copy link
Member

Changelog: Omit
Docs: Omit

Some internal refactors to deduce_locations:

  • Using cpp_info.type always as PackageType not str
  • Better condition checking
  • Using better the cpp.type if defined and checking it

@memsharded memsharded requested a review from ErniGH January 17, 2025 20:23
@memsharded memsharded added this to the 2.12.0 milestone Jan 17, 2025
Copy link
Contributor

@ErniGH ErniGH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@franramirez688 franramirez688 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@memsharded It'd be great to add some unittests checking those asserts. It should not be quite difficult I guess.

Copy link
Contributor

@franramirez688 franramirez688 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! 👏

@franramirez688 franramirez688 merged commit eb95f5b into conan-io:develop2 Jan 21, 2025
33 checks passed
@memsharded memsharded deleted the feature/incubating_cmakedeps_improvements branch January 21, 2025 08:22
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.

3 participants