summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-08-03 13:26:07 (GMT)
committerBrad King <brad.king@kitware.com>2006-08-03 13:26:07 (GMT)
commit88702ff4424478dac8efef80324437632584fbff (patch)
tree74830590180dc323706fbca7324241318db012bc /Source/cmLocalGenerator.h
parente647052d4986de9cbe852faa1d79c03147cea13a (diff)
downloadCMake-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.h3
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