nixos/projects/kde/kdesrc-buildrc

41 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2023-07-11 17:45:19 +02:00
global
# use the latest KF6 and Qt6-based software.
branch-group kf6-qt6
2024-06-30 22:47:10 +02:00
# we want ninja, turn off some Qt 5 things to have less dependencies
cmake-options -G "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
2024-06-16 20:53:26 +02:00
# Install directory for Qt
qt-install-dir ~/projects/kde/qt
2023-07-11 17:45:19 +02:00
# Install directory for KDE software
2024-01-12 17:47:54 +01:00
install-dir ~/projects/kde/usr
2023-07-11 17:45:19 +02:00
# Directory for downloaded source code
2024-01-12 17:47:54 +01:00
source-dir ~/projects/kde/src
2023-07-11 17:45:19 +02:00
# Directory to build KDE into before installing
# relative to source-dir by default
2024-01-12 17:47:54 +01:00
build-dir ~/projects/kde/build
2024-02-29 00:01:14 +01:00
2024-04-27 21:54:41 +02:00
# Directory to write logs into
log-dir ~/projects/kde/log
2024-02-29 00:01:14 +01:00
# use distro stuff for that
2024-09-05 17:48:49 +02:00
ignore-modules wayland wayland-protocols gpgme appstream packagekit-qt poppler
2023-07-11 17:45:19 +02:00
end global
2024-02-29 00:01:14 +01:00
include ${module-definitions-dir}/kf6-qt6.ksb