[cmake-commits] king committed cmUseMangledMesaCommand.h 1.11 1.12 cmVariableRequiresCommand.h 1.11 1.12

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Jan 24 13:40:33 EST 2007


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

Modified Files:
	cmUseMangledMesaCommand.h cmVariableRequiresCommand.h 
Log Message:
ENH: Patch from Alex to document this command as discouraged.


Index: cmUseMangledMesaCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmUseMangledMesaCommand.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- cmUseMangledMesaCommand.h	16 Mar 2006 14:33:23 -0000	1.11
+++ cmUseMangledMesaCommand.h	24 Jan 2007 18:40:31 -0000	1.12
@@ -72,6 +72,12 @@
       "being added to the include directory path earlier.";
     }
 
+  /** This command is kept for compatibility with older CMake versions. */
+  virtual bool IsDiscouraged()
+    {
+    return true;
+    }
+
 protected:
   void CopyAndFullPathMesaHeader(const char* source,
                                  const char* outdir);

Index: cmVariableRequiresCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmVariableRequiresCommand.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- cmVariableRequiresCommand.h	16 Mar 2006 14:33:23 -0000	1.11
+++ cmVariableRequiresCommand.h	24 Jan 2007 18:40:31 -0000	1.12
@@ -72,6 +72,12 @@
       "is reported.";
     }
   
+  /** This command is kept for compatibility with older CMake versions. */
+  virtual bool IsDiscouraged()
+    {
+    return true;
+    }
+
   cmTypeMacro(cmVariableRequiresCommand, cmCommand);
 };
 



More information about the Cmake-commits mailing list