Files
cmake/Tests/RunCMake/FileAPI/codemodel-v2-import-std-check.cmake
kkkzbh 11c93dd6da fileapi: Test import std target references in codemodel
Add a regression test for the File API codemodel graph produced for an
import std target. The test verifies that emitted target references,
including those to the CMake-provided stdlib target, resolve to targets
present in the codemodel.

Closes: #27890
2026-06-24 03:02:18 +08:00

11 lines
172 B
CMake

set(expect
reply
reply/codemodel-v2-[0-9a-f]+\\.json
.*
reply/index-[0-9.T-]+\\.json
.*
)
check_api("^${expect}$")
check_python(codemodel-v2-import-std index)