[CMake] Cannot import a project twice when cross compiling (as host-tool and for the target arch)

2018-07-11 Thread Settenvini, Matteo
Dear all, I have the following problem which I don't know how to best solve. Any help is appreciated. == Use Case == Consider the following use case: * We are cross-compiling. * A certain project A depends on project B in two different ways: - it uses an executable

Re: [CMake] Cannot import a project twice when cross compiling (as host-tool and for the target arch)

2018-07-13 Thread Settenvini, Matteo
, Matteo Settenvini From: Craig Scott Sent: Thursday, July 12, 2018 12:00:18 AM To: Settenvini, Matteo Cc: cmake@cmake.org Subject: Re: [CMake] Cannot import a project twice when cross compiling (as host-tool and for the target arch) Not quite sure if it fits your use case, bu