Files
Janek Bevendorff 43bd8b8ab2 Add support for building a SPDX SBOM
Adds a `-DWITH_SBOM=ON` CMake flag that outputs an SBOM in SPDX JSON for installed targets.

The SBOM is built from various sources:

- syft scans the deployment directory for binaries (+ package manager metadata if available)
- vcpkg provides basic SBOM data for all packages
- Qt ships its own SBOM information when installed via the online installer or built with `-DQT_GENERATE_SBOM=ON`
- CMake target information for statically-linked libraries

The vcpkg override triplets have been adjusted to enable building of Qt SBOMs when `--build-qt` / `-DWITH_BUILD_QT=ON` is set.

The release-tool builds SBOMs by default, which can be disabled by with `--no-sbom`. The generated SPDX document is put next to the release artefact in the release directory.

Building an SBOM requires Python, syft, and spdx-tools to be installed on the host. The Python generation helper and test file are entirely AI-generated and not super-pretty, but the generated SBOM document is valid and seems as complete as I can get it. Since we're not shipping the code to users, that's good enough for me.
2026-11-12 00:12:48 +01:00
..
2026-11-02 18:00:31 +01:00
2026-11-12 00:12:48 +01:00
2018-03-31 16:01:30 -04:00
2015-09-12 13:55:50 +02:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2023-07-30 09:56:09 -04:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2024-09-04 06:42:31 -04:00
2026-11-01 18:25:56 +01:00
2026-11-01 18:25:56 +01:00