瀏覽代碼

BUG: remove warning about changing generators

Bill Hoffman 23 年之前
父節點
當前提交
b0dd81e665
共有 1 個文件被更改,包括 0 次插入7 次删除
  1. 0 7
      Source/MFCDialog/CMakeSetupDialog.cpp

+ 0 - 7
Source/MFCDialog/CMakeSetupDialog.cpp

@@ -769,13 +769,6 @@ void CMakeSetupDialog::LoadCacheFromDiskToGUI()
         cmCacheManager::GetInstance()->GetCacheEntry("CMAKE_GENERATOR")->m_Value;
         cmCacheManager::GetInstance()->GetCacheEntry("CMAKE_GENERATOR")->m_Value;
       if(m_GeneratorChoiceString != curGen.c_str())
       if(m_GeneratorChoiceString != curGen.c_str())
         {
         {
-        std::string message = "Warning: it is not possible to change generators for a binary tree, switching back to ";
-        message +=  curGen;
-        message += ".\nIf you want to build for ";
-        message += m_GeneratorChoiceString;
-        message += ", delete all the files in the binary directory or specify a new binary directory.";
-        ::MessageBox(0, message.c_str(), "Warning",
-                     MB_OKCANCEL|MB_TASKMODAL);
         m_GeneratorChoiceString = curGen.c_str();
         m_GeneratorChoiceString = curGen.c_str();
         this->UpdateData(FALSE);
         this->UpdateData(FALSE);
         }
         }