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

Function HandleAndValidateTestDirectoryScopes

Source/cmSetPropertyCommand.cxx:285–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285bool HandleAndValidateTestDirectoryScopes(cmExecutionStatus& status,
286 bool test_directory_option_enabled,
287 std::string& test_directory,
288 cmMakefile*& test_directory_makefile)
289{
290 bool scope_options_valid =
291 SetPropertyCommand::HandleTestDirectoryScopeValidation(
292 status, test_directory_option_enabled, test_directory);
293 if (!scope_options_valid) {
294 return false;
295 }
296
297 scope_options_valid = SetPropertyCommand::HandleTestDirectoryScopes(
298 status, test_directory, test_directory_makefile);
299 return scope_options_valid;
300}
301
302std::string MakeSourceFilePathAbsoluteIfNeeded(
303 cmExecutionStatus& status, std::string const& source_file_path,

Callers 3

cmGetTestPropertyCommandFunction · 0.85
cmSetPropertyCommandFunction · 0.85
cmGetPropertyCommandFunction · 0.85

Tested by 1

cmGetTestPropertyCommandFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…