← Back to team overview

ubuntu-phone team mailing list archive

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

 

On 15 December 2013 12:29, Michał Sawicz <michal.sawicz@xxxxxxxxxxxxx> wrote:
> On 15.12.2013 13:26, Alberto Mardegan wrote:
>>
>> 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?
>
>
> There is *some* qmake support already there, and you can also see what the
> cmake module does under:
>
> http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/dpkg-cross/trusty/files/head:/config/
>

There is support for CMake there as well. I believe it pre-dates qt5
release and it predates using multiarch by default, therefore your
mileage may vary. I believe it still assumed, now deprecated, xdeb /
dpkg-cross. Or, well, use them to the extend they were usable to
perform cross-compilation. (it still was a lot, it's just with proper
multiarch implementation it's now possible to do in automated way for
a larger amount of packages)

-- 
Regards,

Dimitri.


References