diff options
author | Michael Lauer <mickey@vanille-media.de> | 2008-01-15 00:31:03 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2008-01-15 00:31:03 +0000 |
commit | c431bbbb35871017d6fafd79cddd036a52b2352e (patch) | |
tree | 6044fe5dc3ecb5557b8ffc6fc52c284ae5db1b4b /classes | |
parent | ef42a50d2683b4fc4c461024051138215a9322c8 (diff) |
add rudimentary cmake support class
Diffstat (limited to 'classes')
-rw-r--r-- | classes/cmake.bbclass | 7 |
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 |