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

Method SetCTestConfigurationFromCMakeVariable

Source/cmCTest.cxx:3167–3181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3165}
3166
3167bool cmCTest::SetCTestConfigurationFromCMakeVariable(
3168 cmMakefile* mf, char const* dconfig, std::string const& cmake_var,
3169 bool suppress)
3170{
3171 cmValue ctvar = mf->GetDefinition(cmake_var);
3172 if (!ctvar) {
3173 return false;
3174 }
3175 cmCTestOptionalLog(this, HANDLER_VERBOSE_OUTPUT,
3176 "SetCTestConfigurationFromCMakeVariable:"
3177 << dconfig << ":" << cmake_var << std::endl,
3178 suppress);
3179 this->SetCTestConfiguration(dconfig, *ctvar, suppress);
3180 return true;
3181}
3182
3183void cmCTest::SetCMakeVariables(cmMakefile& mf)
3184{

Callers 4

InitializeHandlerMethod · 0.80
InitialPassMethod · 0.80
InitializeHandlerMethod · 0.80

Calls 2

SetCTestConfigurationMethod · 0.95
GetDefinitionMethod · 0.45

Tested by

no test coverage detected