fileapi: ignore __cmake_
-prefixed targets
These targets are internal to CMake's C++ `import std` implementation and should not appear.
This commit is contained in:
parent
ffe74289b3
commit
442086c1dc
@ -685,6 +685,11 @@ Json::Value CodemodelConfig::DumpTargets()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ignore targets starting with `__cmake_` as they are internal.
|
||||||
|
if (cmHasLiteralPrefix(gt->GetName(), "__cmake_")) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
targets.append(this->DumpTarget(gt, targets.size()));
|
targets.append(this->DumpTarget(gt, targets.size()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user