From: Ross Burton Date: Fri, 10 Jan 2014 16:34:31 +0000 (+0000) Subject: cmake: default to out-of-tree builds X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~34880 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=783fb88f476c94d5d4f4b954f7053464d9a6dff5;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git cmake: default to out-of-tree builds Set B=${WORKDIR}/build in cmake.bbclass so that recipes using cmake.bbclass do out-of-tree builds by default. Signed-off-by: Ross Burton Signed-off-by: Saul Wold --- diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 1dc406d253d..3ac3fcc53dd 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass @@ -1,4 +1,5 @@ DEPENDS_prepend = "cmake-native " +B = "${WORKDIR}/build" # We need to unset CCACHE otherwise cmake gets too confused CCACHE = ""