summaryrefslogtreecommitdiffstats
path: root/kde/cmake/rocs
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-04-30 14:50:43 +0200
committer Eric Hameleers <alien@slackware.com>2015-04-30 14:50:43 +0200
commit7d09664d7db06eb04fe71d49435a88caf5c82e36 (patch)
tree2b35aeb6281f833d38d9565733e91f6076b74b59 /kde/cmake/rocs
parentdee5aff849881e55f438fd5fff5c23e181814af2 (diff)
downloadktown-7d09664d7db06eb04fe71d49435a88caf5c82e36.tar.gz
ktown-7d09664d7db06eb04fe71d49435a88caf5c82e36.tar.xz
Many new KF5 ports that need different cmake invocation.
Diffstat (limited to 'kde/cmake/rocs')
-rw-r--r--kde/cmake/rocs23
1 files changed, 23 insertions, 0 deletions
diff --git a/kde/cmake/rocs b/kde/cmake/rocs
new file mode 100644
index 0000000..0223b84
--- /dev/null
+++ b/kde/cmake/rocs
@@ -0,0 +1,23 @@
+mkdir build
+cd build
+ cmake \
+ $KDE_OPT_ARGS \
+ -DKDE_PLATFORM_FEATURE_DISABLE_DEPRECATED=TRUE \
+ -DCMAKE_C_FLAGS:STRING="-I/usr/include/grantlee-qt5 $SLKCFLAGS" \
+ -DCMAKE_C_FLAGS_RELEASE:STRING="-I/usr/include/grantlee-qt5 $SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="-I/usr/include/grantlee-qt5 $SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS_RELEASE:STRING="-I/usr/include/grantlee-qt5 $SLKCFLAGS" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DSYSCONF_INSTALL_DIR=/etc/kde \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DLIB_INSTALL_DIR=lib$LIBDIRSUFFIX \
+ -DLIBEXEC_INSTALL_DIR=lib$LIBDIRSUFFIX \
+ -DQT_PLUGIN_INSTALL_DIR=lib$LIBDIRSUFFIX/qt5/plugins \
+ -DQML_INSTALL_DIR=lib$LIBDIRSUFFIX/qt5/qml \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DBUILD_TESTING=OFF \
+ -DQca-qt5_DIR=/usr/lib${LIBDIRSUFFIX}/cmake/Qca \
+ ..
+