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

Function HandleAndValidateSourceFileDirectoryScopes

Source/cmSetPropertyCommand.cxx:226–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226bool HandleAndValidateSourceFileDirectoryScopes(
227 cmExecutionStatus& status, bool source_file_directory_option_enabled,
228 bool source_file_target_option_enabled,
229 std::vector<std::string>& source_file_directories,
230 std::vector<std::string>& source_file_target_directories,
231 std::vector<cmMakefile*>& source_file_directory_makefiles)
232{
233 bool scope_options_valid =
234 SetPropertyCommand::HandleSourceFileDirectoryScopeValidation(
235 status, source_file_directory_option_enabled,
236 source_file_target_option_enabled, source_file_directories,
237 source_file_target_directories);
238 if (!scope_options_valid) {
239 return false;
240 }
241
242 scope_options_valid = SetPropertyCommand::HandleSourceFileDirectoryScopes(
243 status, source_file_directories, source_file_target_directories,
244 source_file_directory_makefiles);
245 return scope_options_valid;
246}
247
248bool HandleTestDirectoryScopes(cmExecutionStatus& status,
249 std::string& test_directory,

Callers 4

cmSetPropertyCommandFunction · 0.85
cmGetPropertyCommandFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…