mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
12 lines
479 B
CMake
12 lines
479 B
CMake
include(${CMAKE_CURRENT_LIST_DIR}/../Sbom/Assertions.cmake)
|
|
|
|
get_property(_isMultiConfig GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
|
|
if(_isMultiConfig)
|
|
file(READ "${RunCMake_TEST_BINARY_DIR}/sbom/foo/foo-Debug.spdx.json" DebugSbom)
|
|
file(READ "${RunCMake_TEST_BINARY_DIR}/sbom/foo/foo-Release.spdx.json" ReleaseSbom)
|
|
else()
|
|
file(READ "${RunCMake_TEST_BINARY_DIR}/sbom/foo/foo-Debug.spdx.json" DebugSbom)
|
|
endif()
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/../Sbom/Config-check.cmake)
|