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

Method SetConfigType

Source/cmCTest.cxx:3159–3165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3157}
3158
3159void cmCTest::SetConfigType(std::string const& ct)
3160{
3161 this->Impl->ConfigType = ct;
3162 cmSystemTools::ReplaceString(this->Impl->ConfigType, ".\\", "");
3163 std::string confTypeEnv = "CMAKE_CONFIG_TYPE=" + this->Impl->ConfigType;
3164 cmSystemTools::PutEnv(confTypeEnv);
3165}
3166
3167bool cmCTest::SetCTestConfigurationFromCMakeVariable(
3168 cmMakefile* mf, char const* dconfig, std::string const& cmake_var,

Callers 4

SetArgsFromPresetMethod · 0.95
RunMethod · 0.95
ExecuteHandlerCommandMethod · 0.80
RunMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected