[cmake-commits] alex committed cmUtilitySourceCommand.h 1.10 1.10.8.1

cmake-commits at cmake.org cmake-commits at cmake.org
Tue May 1 17:00:02 EDT 2007


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

Modified Files:
      Tag: CMake-CrossCompileBasic
	cmUtilitySourceCommand.h 
Log Message:

STYLE: according to Brad this one is ancient and shouldn't be used for any
new stuff

Alex


Index: cmUtilitySourceCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmUtilitySourceCommand.h,v
retrieving revision 1.10
retrieving revision 1.10.8.1
diff -u -d -r1.10 -r1.10.8.1
--- cmUtilitySourceCommand.h	18 Mar 2005 15:41:41 -0000	1.10
+++ cmUtilitySourceCommand.h	1 May 2007 21:00:00 -0000	1.10.8.1
@@ -72,7 +72,14 @@
       "is assumed that the source tree of the utility will have been built "
       "before it is needed.";
     }
-  
+
+  /** This command is kept for compatibility with older CMake versions. */
+  virtual bool IsDiscouraged()
+    {
+    return true;
+    }
+
+
   cmTypeMacro(cmUtilitySourceCommand, cmCommand);
 };
 



More information about the Cmake-commits mailing list