2023-07-11 17:45:19 +02:00
|
|
|
global
|
|
|
|
# use the latest KF6 and Qt6-based software.
|
|
|
|
branch-group kf6-qt6
|
|
|
|
|
|
|
|
# we want .kateproject files with ninja
|
2023-08-12 15:50:28 +02:00
|
|
|
cmake-options -G "Kate - Ninja" -DBUILD_WITH_QT6=ON -DQT_MAJOR_VERSION=6 -DPHONON_BUILD_QT5=OFF -DBUILD_QT5=OFF
|
2023-07-11 17:45:19 +02:00
|
|
|
|
|
|
|
# Restrict make and ninja to using no more than 8 separate compile jobs even
|
|
|
|
# when more CPU is available, to avoid running out of memory
|
|
|
|
make-options -j8 NINJAFLAGS=-j8
|
|
|
|
ninja-options -j8
|
|
|
|
|
|
|
|
# clangd tooling
|
|
|
|
compile-commands-export yes
|
|
|
|
compile-commands-linking yes
|
|
|
|
|
|
|
|
# flat structure
|
|
|
|
directory-layout flat
|
|
|
|
|
|
|
|
# Install directory for KDE software
|
2024-01-08 23:21:19 +01:00
|
|
|
install-dir ~/projects/kde6/usr
|
2023-07-11 17:45:19 +02:00
|
|
|
|
|
|
|
# Directory for downloaded source code
|
|
|
|
source-dir ~/projects/kde6/src
|
|
|
|
|
|
|
|
# Directory to build KDE into before installing
|
|
|
|
# relative to source-dir by default
|
|
|
|
build-dir ~/projects/kde6/build
|
|
|
|
end global
|
|
|
|
|
2023-12-17 18:17:19 +01:00
|
|
|
include ~/projects/kde6/src/kdesrc-build/data/build-include/kf6-frameworks.ksb
|
|
|
|
include ~/projects/kde6/src/kdesrc-build/data/build-include/kf6-applications.ksb
|