← Back to team overview

ubuntu-phone team mailing list archive

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

 

On 12/13/2013 11:58 AM, Dimitri John Ledkov wrote:
> As of latest cmake upload into trusty, it is now trivial to
> cross-compile CMake based projects:
> 
Awesome!
...

> 
> With chroots managed by click: one can simply use "cmake ../; make" direct.
> 
> This together with a working emulator completes native developer
> foundations story: cross-compile + test click in the emulator.
> 
> ps. if you are not using CMake, you should be switching to CMake =)
> 
I'd love to, but what is the status of QtCreator defaulting to using CMake?
While I tend to my own dev tools to edit my code, I use QtCreator initially for
the templated setup (eg Ubuntu/Simple Touch UI, Ubuntu/QML Extension Library +
Tabbed Touch UI, etc). I have appreciated that it also sets up the build for me
(though it stills needs twiddling to work correctly for compiled code[1]). If it
can default to CMake that would be fantastic-- if not, can we find a way through
some tool to take advantage of the templates in QtC but that sets up the build
and everything else the way it should be?

[1]https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/1215913

-- 
Jamie Strandboge                 http://www.ubuntu.com/

Attachment: signature.asc
Description: OpenPGP digital signature


References