diff options
Diffstat (limited to 'Source/cmSourceFile.h')
-rw-r--r-- | Source/cmSourceFile.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Source/cmSourceFile.h b/Source/cmSourceFile.h index 57a5312..538129a 100644 --- a/Source/cmSourceFile.h +++ b/Source/cmSourceFile.h @@ -64,15 +64,17 @@ public: } /** - * Set the name of the file, given the directory - * the file should be in. Various extensions are tried on - * the name (e.g., .cxx, .cpp) in the directory to find the actual file. + * Set the name of the file, given the directory the file should be + * in. The various extensions provided are tried on the name + * (e.g., cxx, cpp) in the directory to find the actual file. */ - void SetName(const char* name, const char* dir); + void SetName(const char* name, const char* dir, + const std::vector<std::string>& sourceExts, + const std::vector<std::string>& headerExts); /** * Set the name of the file, given the directory the file should be in. IN - * this version the extesion is provided in the call. This is useful for + * this version the extension is provided in the call. This is useful for * generated files that do not exist prior to the build. */ void SetName(const char* name, const char* dir, const char *ext, |