Browse Source

ENH: better docs

Bill Hoffman 23 years ago
parent
commit
d1925b4443
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Source/cmFindFileCommand.h

+ 3 - 1
Source/cmFindFileCommand.h

@@ -74,7 +74,9 @@ public:
       "Find a file in the system PATH or in any extra paths specified in the command."
       "Find a file in the system PATH or in any extra paths specified in the command."
       "A cache entry called NAME is created to store the result.   NOTFOUND is the value"
       "A cache entry called NAME is created to store the result.   NOTFOUND is the value"
       " used if the file was not found.  If DOC is specified the next argument is the "
       " used if the file was not found.  If DOC is specified the next argument is the "
-      "documentation string for the cache entry NAME.";
+      "documentation string for the cache entry NAME.  Since Executables, "
+      "can have different extensions on different platforms, FIND_PROGRAM,"
+      " should be used instead of FIND_FILE when looking for and executable.";
     }
     }
   
   
   cmTypeMacro(cmFindFileCommand, cmCommand);
   cmTypeMacro(cmFindFileCommand, cmCommand);