cmake: initialize with Role that controls which commands to register

This commit is contained in:
Daniel Pfeifer
2017-04-29 21:28:14 +02:00
parent 8986dec05d
commit c36d63cd48
20 changed files with 41 additions and 27 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ void cmCTestScriptHandler::CreateCMake()
delete this->GlobalGenerator;
delete this->Makefile;
}
this->CMake = new cmake;
this->CMake = new cmake(cmake::RoleScript);
this->CMake->SetHomeDirectory("");
this->CMake->SetHomeOutputDirectory("");
this->CMake->GetCurrentSnapshot().SetDefaultDefinitions();