diff options
Diffstat (limited to 'source.local/kde/cmake/kdebindings')
-rw-r--r-- | source.local/kde/cmake/kdebindings | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/source.local/kde/cmake/kdebindings b/source.local/kde/cmake/kdebindings new file mode 100644 index 0000000..086f962 --- /dev/null +++ b/source.local/kde/cmake/kdebindings @@ -0,0 +1,31 @@ +# Set 'vendorarch' (install location for vendor shipped +# architecture dependent perl modules): +eval $(perl '-V:vendorarch') + +# Likewise for Ruby (note that our "vendordir" is empty, so we use sitedir): +ruby_vendorlibdir=$(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]') +ruby_vendorarchdir=$(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]') + +mkdir -p build +cd build + #-DCMAKE_BACKWARDS_COMPATIBILITY:STRING="2.2" \ + cmake \ + $KDE_OPT_ARGS \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCUSTOM_PERL_SITE_ARCH_DIR=${vendorarch} \ + -DRUBY_VENDORARCH_DIR:PATH=${ruby_vendorarchdir} \ + -DRUBY_VENDORLIB_DIR:PATH=${ruby_vendorlibdir} \ + -DSYSCONF_INSTALL_DIR=/etc/kde \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DENABLE_QYOTO:BOOL=OFF \ + -DENABLE_QSCINTILLA_SHARP:BOOL=OFF \ + -DENABLE_KIMONO:BOOL=OFF \ + -DBUILD_csharp:BOOL=OFF \ + .. + |