Denis
Denis
> Hi @redradist, > > If I understood correctly, `CMake` is not using the compiler specified in the toolchain but the default one? > I have tried using this toolchain...
> Hi @redradist, > I think that if you want that kind of behaviour you will have to add those fields and set the profile to use, conan.cmake does not...
> > @czoido But can you explain why conan.cmake does not detect CMAKE_C_LINKER_PREFERENCE and CMAKE_CXX_LINKER_PREFERENCE ? > > It is pretty easy to implement in conan.cmake ... if those variables...
> Hi @redradist, > > I think you are missing a call to a toolchain that sets `CMAKE_C_COMPILER`, `CMAKE_CXX_COMPILER`, `CMAKE_ASM_COMPILER` and so on. I think that's the way it should...
> Yes, that seems fine. So, then, the only thing failing is the detection of the architecture? > As you are crosscompiling the only way that the correct architecture will...
> Hi @redradist, > The architecture is not going to be passed correctly to cmake conan because there's no way to detect that, maybe if `CMAKE_SYSTEM_PROCESSOR` was set in the...
@czoido I have created pull-request for working on initial support of detection of architecture https://github.com/conan-io/cmake-conan/pull/293
@czoido Could you please review this changes ?
> > > Hi @redradist > Thank you for the contribution. Could you please give me more context of why this is useful in the cross-compilation case? @czoido It is...
> > > Hi @redradist, > After considering this issue, I think we can't fix that in Conan because it may break users that maybe are checking the content in...