summaryrefslogtreecommitdiffstats
path: root/FUNCTIONS
diff options
context:
space:
mode:
authorTreeve Jelbert2007-05-12 13:22:35 +0200
committerTreeve Jelbert2007-05-12 13:22:35 +0200
commit8dca5166715ce9a42a3ca64b8667944995878b58 (patch)
treed5c1c009a9ce1ef8ffb08a36fa0422b9cc1ed8ba /FUNCTIONS
parenta493a4a7ab35d31b59c8740963f2e9adbcad4994 (diff)
FUNCTIONS: add cmake and qt4 builds
Diffstat (limited to 'FUNCTIONS')
-rwxr-xr-xFUNCTIONS16
1 files changed, 16 insertions, 0 deletions
diff --git a/FUNCTIONS b/FUNCTIONS
index 4e203f2618..12ad13eb26 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -496,3 +496,19 @@ function waf_build(){
function waf_install(){
./waf install
}
+
+# spells in several sections now need cmake or qt4
+#
+cmake_build() {
+cd $SOURCE_DIRECTORY &&
+mkdir -p build &&
+cd build &&
+cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_ROOT/usr ../ $OPTS &&
+make
+}
+
+qt4_build() {
+QTDIR=/usr
+PATH=$QTDIR/bin/qt4:$PATH
+cmake_build
+}