On Fri, Dec 13, 2013 at 6:58 PM, Dimitri John Ledkov <x...@ubuntu.com> 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 > > This succeeds for a wide variety of packages: > * mir > * unity8 > * ubuntu-system-settings > * ubuntu-settings-components > * unity-notifications > * unity-scope-onlinemusic > * uhub > * uchardet > * and many more... > > Since this is built into CMake, one can use cmake direct: > dpkg-architecture -aarmhf cmake ../; make > > (given appropriate build-dependencies installed) > > 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. >
Awesome work, thanks for making it happen :) > ps. if you are not using CMake, you should be switching to CMake =) Seconded!! Cheers, Thomas > > -- > Regards, > > Dimitri. > > -- > Mailing list: https://launchpad.net/~ubuntu-phone > Post to : ubuntu-ph...@lists.launchpad.net > Unsubscribe : https://launchpad.net/~ubuntu-phone > More help : https://help.launchpad.net/ListHelp -- ubuntu-devel mailing list ubuntu-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel