MCPcopy Create free account
hub / github.com/Kitware/CMake / HandleFileSetTargetScopes

Function HandleFileSetTargetScopes

Source/cmSetPropertyCommand.cxx:99–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97
98namespace SetPropertyCommand {
99bool HandleFileSetTargetScopes(cmExecutionStatus& status,
100 std::string& file_set_target_name,
101 cmTarget*& file_set_target)
102{
103 file_set_target = status.GetMakefile().FindTargetToUse(file_set_target_name);
104 if (!file_set_target) {
105 status.SetError(
106 cmStrCat("given non-existent TARGET ", file_set_target_name));
107 return false;
108 }
109 return true;
110}
111
112bool HandleFileSetTargetScopeValidation(cmExecutionStatus& status,
113 bool file_set_target_option_enabled,

Callers 1

Calls 4

FindTargetToUseMethod · 0.80
cmStrCatFunction · 0.70
GetMakefileMethod · 0.45
SetErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…