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/cmMakefile.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/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index f8dfcfc..058e127 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -409,6 +409,17 @@ public: std::vector<std::string>& GetAuxSourceDirectories() {return m_AuxSourceDirectories;} + //@{ + /** + * Return a list of extensions associated with source and header + * files + */ + const std::vector<std::string>& GetSourceExtensions() const + {return m_SourceFileExtensions;} + const std::vector<std::string>& GetHeaderExtensions() const + {return m_HeaderFileExtensions;} + //@} + /** * Given a variable name, return its value (as a string). */ @@ -510,6 +521,8 @@ protected: std::string m_IncludeFileRegularExpression; std::string m_ComplainFileRegularExpression; + std::vector<std::string> m_SourceFileExtensions; + std::vector<std::string> m_HeaderFileExtensions; std::string m_DefineFlags; std::vector<cmSourceGroup> m_SourceGroups; typedef std::map<std::string, cmCommand*> RegisteredCommandsMap; |