Pārlūkot izejas kodu

ENH: better docs

Bill Hoffman 23 gadi atpakaļ
vecāks
revīzija
d1925b4443
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  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);