aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-01-15 00:31:03 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-01-15 00:31:03 +0000
commitc431bbbb35871017d6fafd79cddd036a52b2352e (patch)
tree6044fe5dc3ecb5557b8ffc6fc52c284ae5db1b4b
parentef42a50d2683b4fc4c461024051138215a9322c8 (diff)
downloadopenembedded-c431bbbb35871017d6fafd79cddd036a52b2352e.tar.gz
add rudimentary cmake support class
-rw-r--r--classes/cmake.bbclass7
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/cmake.bbclass b/classes/cmake.bbclass
new file mode 100644
index 0000000000..cec74349dc
--- /dev/null
+++ b/classes/cmake.bbclass
@@ -0,0 +1,7 @@
+inherit autotools
+
+cmake_do_configure() {
+ cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix}
+}
+
+EXPORT_FUNCTIONS do_configure