2023-11-13 09:37:28 +00:00
|
|
|
# kdesrc-build
|
|
|
|
|
|
|
|
> Easily build KDE components from its source repositories.
|
|
|
|
> More information: <https://invent.kde.org/sdk/kdesrc-build>.
|
|
|
|
|
2023-11-13 13:54:15 +00:00
|
|
|
- Initialize `kdesrc-build`:
|
2023-11-13 09:37:28 +00:00
|
|
|
|
|
|
|
`kdesrc-build --initial-setup`
|
|
|
|
|
2023-11-13 13:54:15 +00:00
|
|
|
- Compile a KDE component and its dependencies from source:
|
2023-11-13 09:37:28 +00:00
|
|
|
|
|
|
|
`kdesrc-build {{component_name}}`
|
|
|
|
|
2023-11-13 13:54:15 +00:00
|
|
|
- Compile a component without updating its local code and without compiling its dependencies:
|
2023-11-13 09:37:28 +00:00
|
|
|
|
|
|
|
`kdesrc-build --no-src --no-include-dependencies {{component_name}}`
|
|
|
|
|
2023-11-13 13:54:15 +00:00
|
|
|
- Refresh the build directories before compiling:
|
2023-11-13 09:37:28 +00:00
|
|
|
|
|
|
|
`kdesrc-build --refresh-build {{component_name}}`
|
2023-11-13 13:54:15 +00:00
|
|
|
|
|
|
|
- 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}}`
|