LinuxCommandLibrary

kdesrc-build

Easily build KDE components from its source repositories.

TLDR

Initialize kdesrc-build

$ kdesrc-build --initial-setup
copy


Compile a KDE component and its dependencies from source
$ kdesrc-build [component_name]
copy


Compile a component without updating its local code and without compiling its dependencies
$ kdesrc-build --no-src --no-include-dependencies [component_name]
copy


Refresh the build directories before compiling
$ kdesrc-build --refresh-build [component_name]
copy


Resume compilation from a specific dependency
$ kdesrc-build --resume-from=[dependency_component] [component_name]
copy


Run a component with a specified executable name
$ kdesrc-build --run --exec [executable_name] [component_name]
copy


Build all configured components
$ kdesrc-build
copy


Use system libraries in place of a component if it fails to build
$ kdesrc-build --no-stop-on-failure [component_name]
copy

Copied to clipboard