zephyr/tests/application_development/software_bill_of_materials/PreLoad.cmake
Pieter De Gendt 5d23996361 tests: application_development: Add spdx SBOM test
Add a test where the software bill of materials is generated using the
west spdx extension.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-01-15 15:03:59 +01:00

11 lines
297 B
CMake

# Copyright (c) 2024 Basalte bv
# SPDX-License-Identifier: Apache-2.0
# WARNING: the PreLoad.cmake is an undocumented feature
# We need to create the CMake file API query before the configure step
execute_process(
COMMAND west spdx --init -d ${CMAKE_BINARY_DIR}
COMMAND_ERROR_IS_FATAL ANY
)