← Back to team overview

ubuntu-phone team mailing list archive

Re: Cross-compile with CMake from SDK Apps to Unity8/Mir

 

Hi Dimitri,

On 12/13/2013 07:58 PM, Dimitri John Ledkov wrote:
> As of latest cmake upload into trusty, it is now trivial to
> cross-compile CMake based projects:
> 
> One time setup:
> $ mk-sbuild --target armhf trusty
> 
> Building a package:
> $ sbuild -A -d trusty --host armhf package*.dsc
[...]
> Since this is built into CMake, one can use cmake direct:
> dpkg-architecture -aarmhf cmake ../; make

I'm interested in having the same support in qmake; is someone already
working on it?
What do your changes do, exactly? Do I understand correctly that the
goal is to have the build system aware of the DEB_HOST_ARCH environment
variable so that it selects the toolchain appropriate for the target
architecture? Or is there more to it?

> ps. if you are not using CMake, you should be switching to CMake =)

Nice try ;-)

Ciao,
  Alberto



Follow ups

References