mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
- Change default CPS install path on Windows from `cps` to `cps/<name>`, per community recommendation that only paths containing the package name should be considered as "officially" supported search locations (see https://github.com/cps-org/cps/issues/79#issuecomment-2831102822). - Change `export` to write to a subdirectory that allows the build tree to be used as a search root. - Change SBOM destinations to be consistent with the preceding. Issue: #27785
16 lines
551 B
CMake
16 lines
551 B
CMake
include(${CMAKE_CURRENT_LIST_DIR}/Assertions.cmake)
|
|
|
|
set(out_dir "${RunCMake_BINARY_DIR}/LinkDependentLibraries-build")
|
|
|
|
file(READ "${out_dir}/cps/dyld/dyld.cps" content)
|
|
expect_value("${content}" "dyld" "name")
|
|
expect_value("${content}" "dylib" "components" "private" "type")
|
|
expect_value("${content}" "dylib" "components" "public" "type")
|
|
|
|
expect_array(
|
|
"${content}" 1
|
|
"components" "public" "configurations" "generic" "dyld_requires")
|
|
expect_value(
|
|
"${content}" ":private"
|
|
"components" "public" "configurations" "generic" "dyld_requires" 0)
|