diff options
author | Amitha Perera <perera@cs.rpi.edu> | 2001-07-16 22:40:42 (GMT) |
---|---|---|
committer | Amitha Perera <perera@cs.rpi.edu> | 2001-07-16 22:40:42 (GMT) |
commit | e169953e923907706439c60033ce983729c2e404 (patch) | |
tree | f12edb22a3b64f621ea7d049312ec1a9102ee54e /Source/cmSourceFile.h | |
parent | fdfe7a357e38f40d768e24412f7e49b7880c0fcc (diff) | |
download | CMake-e169953e923907706439c60033ce983729c2e404.zip CMake-e169953e923907706439c60033ce983729c2e404.tar.gz CMake-e169953e923907706439c60033ce983729c2e404.tar.bz2 |
ENH: Source and header file extensions are in variables in cmMakefile.
AUX_SOURCE_DIRECTORY will only add files that have a "source" extension.
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, |