diff options
author | Brad King <brad.king@kitware.com> | 2006-08-03 13:26:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-08-03 13:26:07 (GMT) |
commit | 88702ff4424478dac8efef80324437632584fbff (patch) | |
tree | 74830590180dc323706fbca7324241318db012bc /Source/cmLocalGenerator.h | |
parent | e647052d4986de9cbe852faa1d79c03147cea13a (diff) | |
download | CMake-88702ff4424478dac8efef80324437632584fbff.zip CMake-88702ff4424478dac8efef80324437632584fbff.tar.gz CMake-88702ff4424478dac8efef80324437632584fbff.tar.bz2 |
ENH: Moved GetSourceFileLanguage up to cmLocalGenerator.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index 49bae5b..ec0aafa 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -172,6 +172,9 @@ public: /** Get the include flags for the current makefile and language. */ void GetIncludeDirectories(std::vector<std::string>& dirs); + /** Compute the language used to compile the given source file. */ + const char* GetSourceFileLanguage(const cmSourceFile& source); + // Create a struct to hold the varibles passed into // ExpandRuleVariables struct RuleVariables |