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>
11 lines
297 B
CMake
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
|
|
)
|