summaryrefslogtreecommitdiffstats
path: root/source/kde/cmake/kde-workspace
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/cmake/kde-workspace')
-rw-r--r--source/kde/cmake/kde-workspace17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/kde/cmake/kde-workspace b/source/kde/cmake/kde-workspace
new file mode 100644
index 000000000..10fef77e7
--- /dev/null
+++ b/source/kde/cmake/kde-workspace
@@ -0,0 +1,17 @@
+mkdir build
+cd build
+ cmake \
+ $KDE_OPT_ARGS \
+ -DKDE_PLATFORM_FEATURE_DISABLE_DEPRECATED=TRUE \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_STANDARD=99 \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-cpp" \
+ -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DSYSCONF_INSTALL_DIR=/etc/kde \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ ..
+