Browse Source

ENH: make the scc optional

Bill Hoffman 17 years ago
parent
commit
749dbcdc6e
1 changed files with 0 additions and 12 deletions
  1. 0 12
      Source/cmLocalVisualStudio7Generator.cxx

+ 0 - 12
Source/cmLocalVisualStudio7Generator.cxx

@@ -1833,20 +1833,8 @@ cmLocalVisualStudio7Generator::WriteProjectStart(std::ostream& fout,
     keyword = "Win32Proj";
     keyword = "Win32Proj";
     }
     }
   const char* vsProjectname = target.GetProperty("VS_SCC_PROJECTNAME");
   const char* vsProjectname = target.GetProperty("VS_SCC_PROJECTNAME");
-  if (!vsProjectname)
-    {
-    vsProjectname = "";
-    }
   const char* vsLocalpath = target.GetProperty("VS_SCC_LOCALPATH");
   const char* vsLocalpath = target.GetProperty("VS_SCC_LOCALPATH");
-  if (!vsLocalpath)
-    {
-    vsLocalpath = "";
-    }
   const char* vsProvider = target.GetProperty("VS_SCC_PROVIDER");
   const char* vsProvider = target.GetProperty("VS_SCC_PROVIDER");
-  if (!vsProvider)
-    {
-    vsProvider = "";
-    }
   cmGlobalVisualStudio7Generator* gg =
   cmGlobalVisualStudio7Generator* gg =
     static_cast<cmGlobalVisualStudio7Generator *>(this->GlobalGenerator);
     static_cast<cmGlobalVisualStudio7Generator *>(this->GlobalGenerator);
   fout << "\tName=\"" << projLabel << "\"\n";
   fout << "\tName=\"" << projLabel << "\"\n";