add kde dev env
This commit is contained in:
parent
a05dbb6d41
commit
68d0795da2
3 changed files with 67 additions and 1 deletions
32
projects/kde6/kdesrc-buildrc
Normal file
32
projects/kde6/kdesrc-buildrc
Normal file
|
@ -0,0 +1,32 @@
|
|||
global
|
||||
# use the latest KF6 and Qt6-based software.
|
||||
branch-group kf6-qt6
|
||||
|
||||
# we want .kateproject files with ninja
|
||||
cmake-options -G "Kate - Ninja" -DBUILD_WITH_QT6=ON -DQT_MAJOR_VERSION=6
|
||||
|
||||
# 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
|
||||
kdedir ~/projects/kde6/usr
|
||||
|
||||
# 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
|
||||
|
||||
include ~/projects/kde6/src/kdesrc-build/kf6-frameworks-build-include
|
||||
include ~/projects/kde6/src/kdesrc-build/kf6-applications-build-include
|
Loading…
Add table
Add a link
Reference in a new issue