Skip to content

[feature] CMake integration: proof of concept of sysroot + CMakeDeps priority #12478

@memsharded

Description

@memsharded

It is not fully clear, maybe not enough tested:

  • A vendor tool, like Android or similar, that could come in a Conan package, and that provides its toolchain.cmake file with the details how to use it.
  • That toolchain might contain some libraries
  • There are also Conan packages, that via CMakeDeps can be found
  • But also some other packages should be found in the sysroot of the vendor toolchain

What would be the best way to integrate? The conan_toolchain.cmake can include the vendor toolchain.cmake, or an intermediate one from the user, but does this guarantee behavior if the vendor toolchain changes priorities of CMake for finding package only in itself?

cc / @maikelvdh

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions