[cmake-commits] alex committed cmAddExecutableCommand.cxx 1.30 1.31 cmGlobalVisualStudio6Generator.cxx 1.69 1.70 cmGlobalVisualStudio71Generator.cxx 1.40 1.41 cmGlobalVisualStudio7Generator.cxx 1.87 1.88

cmake-commits at cmake.org cmake-commits at cmake.org
Tue May 22 10:42:39 EDT 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv15054/Source

Modified Files:
	cmAddExecutableCommand.cxx cmGlobalVisualStudio6Generator.cxx 
	cmGlobalVisualStudio71Generator.cxx 
	cmGlobalVisualStudio7Generator.cxx 
Log Message:

COMP: compile fix and remove warning

Alex


Index: cmGlobalVisualStudio6Generator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalVisualStudio6Generator.cxx,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- cmGlobalVisualStudio6Generator.cxx	22 May 2007 14:24:59 -0000	1.69
+++ cmGlobalVisualStudio6Generator.cxx	22 May 2007 14:42:37 -0000	1.70
@@ -401,7 +401,7 @@
       if(j->first != dspname)
         {
         // is the library part of this DSW ? If so add dependency
-        if(this->FindTarget(0, j->first.c_str()), false)
+        if(this->FindTarget(0, j->first.c_str(), false))
           {
           fout << "Begin Project Dependency\n";
           fout << "Project_Dep_Name " << j->first.c_str() << "\n";

Index: cmGlobalVisualStudio71Generator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalVisualStudio71Generator.cxx,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- cmGlobalVisualStudio71Generator.cxx	22 May 2007 14:24:59 -0000	1.40
+++ cmGlobalVisualStudio71Generator.cxx	22 May 2007 14:42:37 -0000	1.41
@@ -334,8 +334,7 @@
         {
         // is the library part of this SLN ? If so add dependency
         if(this->FindTarget(this->CurrentProject.c_str(), 
-                            j->first.c_str()), 
-                            false)
+                            j->first.c_str(), false))
           {
           fout << "\t\t{" << this->GetGUID(j->first.c_str()) << "} = {"
                << this->GetGUID(j->first.c_str()) << "}\n";

Index: cmGlobalVisualStudio7Generator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalVisualStudio7Generator.cxx,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- cmGlobalVisualStudio7Generator.cxx	22 May 2007 14:24:59 -0000	1.87
+++ cmGlobalVisualStudio7Generator.cxx	22 May 2007 14:42:37 -0000	1.88
@@ -589,8 +589,7 @@
         {
         // is the library part of this SLN ? If so add dependency
         if(this->FindTarget(this->CurrentProject.c_str(), 
-                            j->first.c_str()), 
-                            false)
+                            j->first.c_str(), false))
           {
           std::string guid = this->GetGUID(j->first.c_str());
           if(guid.size() == 0)

Index: cmAddExecutableCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmAddExecutableCommand.cxx,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- cmAddExecutableCommand.cxx	22 May 2007 14:24:59 -0000	1.30
+++ cmAddExecutableCommand.cxx	22 May 2007 14:42:37 -0000	1.31
@@ -63,7 +63,7 @@
     
   if (importTarget)
     {
-    cmTarget* target = this->Makefile->AddNewTarget(cmTarget::EXECUTABLE, exename.c_str(), true);
+    this->Makefile->AddNewTarget(cmTarget::EXECUTABLE, exename.c_str(), true);
     return true;
     }
 



More information about the Cmake-commits mailing list