[CMake] dependencies of cross compiliations

2018-11-09 Thread Torsten Robitzki
Hi, I hope this question was not asked before. I work in the embedded field and there it is usually to have at least two different build platforms. The Host platform, where unit tests are build (and where CMake is running) and an embedded Target platform, where targets are build with a cross com

Re: [CMake] dependencies of cross compiliations

2018-11-09 Thread Miller Henry
g. -Original Message- From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Torsten Robitzki Sent: Friday, November 9, 2018 3:04 AM To: cmake@cmake.org Subject: [CMake] dependencies of cross compiliations Hi, I hope this question was not asked before. I work in the embedded field and t

Re: [CMake] dependencies of cross compiliations

2018-11-10 Thread Torsten Robitzki
> Am 09.11.2018 um 15:55 schrieb Miller Henry : > > There are two options. Each with pros and cons. > > The first what you are doing now, except you use external project > https://cmake.org/cmake/help/v3.12/module/ExternalProject.html to build the > host tools instead of add_custom_command. I

Re: [CMake] dependencies of cross compiliations

2018-11-27 Thread Rolf Eike Beer
Am 2018-11-09 10:04, schrieb Torsten Robitzki: Hi, I hope this question was not asked before. I work in the embedded field and there it is usually to have at least two different build platforms. The Host platform, where unit tests are build (and where CMake is running) and an embedded Target plat

Re: [CMake] dependencies of cross compiliations

2018-11-27 Thread Ray Donnelly
> which I bet all of us would love to see. This is not correct. I would strongly prefer they continue with QBS instead. Cmake is defacto, but very suboptional. On Tue, Nov 27, 2018, 10:28 AM Rolf Eike Beer Am 2018-11-09 10:04, schrieb Torsten Robitzki: > > Hi, > > I hope this question was not as

Re: [CMake] dependencies of cross compiliations

2018-11-27 Thread Miller Henry
Since I'm not doing the work I don't get to tell you how to do it. -Original Message- From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Rolf Eike Beer Sent: Tuesday, November 27, 2018 4:28 AM To: cmake@cmake.org Cc: cmake-develop...@cmake.org Subject: Re: [CMake] d

Re: [CMake] dependencies of cross compiliations

2018-11-27 Thread Eric Noulard
Le mar. 27 nov. 2018 à 11:28, Rolf Eike Beer a écrit : > Am 2018-11-09 10:04, schrieb Torsten Robitzki: > > Hi, > > I hope this question was not asked before. I work in the embedded > > field and there it is usually to have at least two different build > > platforms. The Host platform, where unit

Re: [CMake] dependencies of cross compiliations

2018-12-03 Thread Torsten Robitzki
> Am 27.11.2018 um 19:55 schrieb Eric Noulard : > > However from my point of view and my cross-compiling experience when you > cross-compile you have: > > 1) the host compiler which is used to compile "host tools" > 2) the target compiler (may be several of them) to "cross-compile" > > My assum

Re: [CMake] dependencies of cross compiliations

2018-12-09 Thread Craig Scott
On Tue, Dec 4, 2018 at 6:56 PM Torsten Robitzki wrote: > > Am 27.11.2018 um 19:55 schrieb Eric Noulard : > > > > However from my point of view and my cross-compiling experience when you > cross-compile you have: > > > > 1) the host compiler which is used to compile "host tools" > > 2) the target

Re: [CMake] dependencies of cross compiliations

2018-12-10 Thread Eric Noulard
Le dim. 9 déc. 2018 à 12:24, Craig Scott a écrit : > On Tue, Dec 4, 2018 at 6:56 PM Torsten Robitzki > wrote: > >> > Am 27.11.2018 um 19:55 schrieb Eric Noulard : >> > >> > My assumption are: >> > a) when you cross-compile your build is a "whole" and you shouldn't >> have to setup some superbui

Re: [CMake] dependencies of cross compiliations

2018-12-10 Thread Craig Scott
On Mon, Dec 10, 2018 at 7:57 PM Eric Noulard wrote: > > Le dim. 9 déc. 2018 à 12:24, Craig Scott a > écrit : > >> On Tue, Dec 4, 2018 at 6:56 PM Torsten Robitzki >> wrote: >> >>> > Am 27.11.2018 um 19:55 schrieb Eric Noulard : >>> > >>> > My assumption are: >>> > a) when you cross-compile your