Re: [OE-core] [RFC][PATCH] cmake: respect ${S} and ${B}

2013-12-05 Thread Martin Jansa
On Thu, Dec 05, 2013 at 10:10:02AM +, Richard Purdie wrote: > On Thu, 2013-12-05 at 00:38 +, Ross Burton wrote: > > Hi, > > > > This is a Request For Comments because it changes behaviour of the cmake > > class > > and I'm not entirely knowledgeable in cmake. > > > > For some reason, cma

Re: [OE-core] [RFC][PATCH] cmake: respect ${S} and ${B}

2013-12-05 Thread Richard Purdie
On Thu, 2013-12-05 at 00:38 +, Ross Burton wrote: > Hi, > > This is a Request For Comments because it changes behaviour of the cmake class > and I'm not entirely knowledgeable in cmake. > > For some reason, cmake.bbclass doesn't use ${S} and ${B}, but instead has it's > own variables OECMAKE_

Re: [OE-core] [RFC][PATCH] cmake: respect ${S} and ${B}

2013-12-05 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ross Burton schreef op 05-12-13 01:38: > Hi, > > This is a Request For Comments because it changes behaviour of the cmake > class and I'm not entirely knowledgeable in cmake. > > For some reason, cmake.bbclass doesn't use ${S} and ${B}, but instead h

Re: [OE-core] [RFC][PATCH] cmake: respect ${S} and ${B}

2013-12-04 Thread Martin Jansa
On Thu, Dec 05, 2013 at 12:38:57AM +, Ross Burton wrote: > Hi, > > This is a Request For Comments because it changes behaviour of the cmake class > and I'm not entirely knowledgeable in cmake. Neither am I, but patch looks reasonable and I like it, because I was planing to do something simila

[OE-core] [RFC][PATCH] cmake: respect ${S} and ${B}

2013-12-04 Thread Ross Burton
Hi, This is a Request For Comments because it changes behaviour of the cmake class and I'm not entirely knowledgeable in cmake. For some reason, cmake.bbclass doesn't use ${S} and ${B}, but instead has it's own variables OECMAKE_SOURCEPATH ("." by default) and OECMAKE_BUILDPATH ("" by default).