tldr/pages/linux/kdesrc-build.md

37 lines
941 B
Markdown
Raw Normal View History

# kdesrc-build
> Easily build KDE components from its source repositories.
> More information: <https://invent.kde.org/sdk/kdesrc-build>.
- Initialize `kdesrc-build`:
`kdesrc-build --initial-setup`
- Compile a KDE component and its dependencies from source:
`kdesrc-build {{component_name}}`
- Compile a component without updating its local code and without compiling its dependencies:
`kdesrc-build --no-src --no-include-dependencies {{component_name}}`
- Refresh the build directories before compiling:
`kdesrc-build --refresh-build {{component_name}}`
- Resume compilation from a specific dependency:
`kdesrc-build --resume-from={{dependency_component}} {{component_name}}`
- Print full compilation info:
`kdesrc-build --debug {{component_name}}`
2024-02-08 01:23:14 +00:00
- Build all configured components:
`kdesrc-build`
2024-02-18 19:19:06 +00:00
- Use system libraries in place of a component if it fails to build:
`kdesrc-build --no-stop-on-failure {{component_name}}`