summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFile.h
diff options
context:
space:
mode:
authorAmitha Perera <perera@cs.rpi.edu>2001-07-16 22:40:42 (GMT)
committerAmitha Perera <perera@cs.rpi.edu>2001-07-16 22:40:42 (GMT)
commite169953e923907706439c60033ce983729c2e404 (patch)
treef12edb22a3b64f621ea7d049312ec1a9102ee54e /Source/cmSourceFile.h
parentfdfe7a357e38f40d768e24412f7e49b7880c0fcc (diff)
downloadCMake-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.h12
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,