Skip to contentSkip to conversation

cmake

DISCUSSION Shane Dixon 5 participants 5 messages Apr 1, 2009 – Apr 2, 2009

lore
Share & tools
lore
#0 lore raw

I'm considering changing my projects over to cmake, but before I do, I wanted to ask how good the cmake support is in OE. I saw a recent proposal to allow out-of-tree builds for cmake, but I'm not sure if that happened or not.

Can I move forward with changing my projects to cmake and expect that it will build correctly in OE?

Signature · 4 lines
Shane Dixon
Linux Engineer
Atmel Corporation
E-mail: [email protected]
#1 lore raw
Quoted 4 lines · Shane Dixon

I'm considering changing my projects over to cmake, but before I do, I wanted to ask how good the cmake support is in OE. I saw a recent proposal to allow out-of-tree builds for cmake, but I'm not sure if that happened or not.

At work we recently switched our projects over to CMake and they are building happily in OE. Out-of-tree builds are indeed supported, see recipes/llvm/llvm.inc for an example.

Signature · 2 lines
Jeremy LAINE
Bolloré telecom | 11bis, rue Scribe | F-75009 Paris
#2 lore raw
Quoted 8 lines · Jeremy Lainé
Quoted 4 lines · Shane Dixon

I'm considering changing my projects over to cmake, but before I do, I wanted to ask how good the cmake support is in OE.  I saw a recent proposal to allow out-of-tree builds for cmake, but I'm not sure if that happened or not.

At work we recently switched our projects over to CMake and they are building happily in OE. Out-of-tree builds are indeed supported, see recipes/llvm/llvm.inc for an example.

What do you mean by out-of-tree?

Signature · 3 lines
Otavio Salvador                  O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br
#3 lore raw
Quoted 8 lines · Otavio Salvador
Quoted 6 lines · Jeremy Lainé
Quoted 4 lines · Shane Dixon

I'm considering changing my projects over to cmake, but before I do, I wanted to ask how good the cmake support is in OE. I saw a recent proposal to allow out-of-tree builds for cmake, but I'm not sure if that happened or not.

Quoted 4 lines
Quoted 2 lines

At work we recently switched our projects over to CMake and they are building happily in OE. Out-of-tree builds are indeed supported, see recipes/llvm/llvm.inc for an example.

What do you mean by out-of-tree?

S=work/foo-1.2-r0/foo-1.2/
B=work/foo-1.2-r0/build-foo-1.2

All generated stuff (makefiles, objects, binaries, etc) will end up in B so that S stays clean.

I'd like out-of-tree builds to be the default for autotools and cmake, but there are way too many broken autofoo and cmake using packages out there :(

regards,

Koen

#4 lore raw
In reply to Shane Dixon

Hi Shane,

Quoted 7 lines · Shane Dixon

I'm considering changing my projects over to cmake, but before I do, I wanted to ask how good the cmake support is in OE. I saw a recent proposal to allow out-of-tree builds for cmake, but I'm not sure if that happened or not.

Can I move forward with changing my projects to cmake and expect that it will build correctly in OE?

Go ahead, OE contains latest CMake release as well as out of tree build functionality.

Regards
Robert