[cmake-commits] martink committed cmGetPropertyCommand.cxx 1.1 1.2 cmSetPropertiesCommand.cxx 1.8 1.9

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Jun 25 12:50:31 EDT 2007


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

Modified Files:
	cmGetPropertyCommand.cxx cmSetPropertiesCommand.cxx 
Log Message:
COMP: fix warnings


Index: cmSetPropertiesCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmSetPropertiesCommand.cxx,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- cmSetPropertiesCommand.cxx	25 Jun 2007 13:51:37 -0000	1.8
+++ cmSetPropertiesCommand.cxx	25 Jun 2007 16:50:29 -0000	1.9
@@ -199,6 +199,10 @@
         }
       }
       break;
+    case cmProperty::VARIABLE:
+    case cmProperty::CACHED_VARIABLE:
+      // not handled by SetProperty
+      break;
     }
 
   return true;

Index: cmGetPropertyCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGetPropertyCommand.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cmGetPropertyCommand.cxx	25 Jun 2007 14:33:25 -0000	1.1
+++ cmGetPropertyCommand.cxx	25 Jun 2007 16:50:29 -0000	1.2
@@ -152,6 +152,10 @@
         }
       }
       break;
+    case cmProperty::VARIABLE:
+    case cmProperty::CACHED_VARIABLE:
+      // not handled by GetProperty
+      break;
     }
 
   this->Makefile->AddDefinition(args[0].c_str(), output.c_str());



More information about the Cmake-commits mailing list