summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
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/cmLocalUnixMakefileGenerator3.cxx
parente647052d4986de9cbe852faa1d79c03147cea13a (diff)
downloadCMake-88702ff4424478dac8efef80324437632584fbff.zip
CMake-88702ff4424478dac8efef80324437632584fbff.tar.gz
CMake-88702ff4424478dac8efef80324437632584fbff.tar.bz2
ENH: Moved GetSourceFileLanguage up to cmLocalGenerator.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 7e0cad7..dc301de 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1897,19 +1897,3 @@ void cmLocalUnixMakefileGenerator3
}
}
}
-
-//----------------------------------------------------------------------------
-const char*
-cmLocalUnixMakefileGenerator3
-::GetSourceFileLanguage(const cmSourceFile& source)
-{
- const char* lang = source.GetProperty("LANGUAGE");
- if ( lang )
- {
- return lang;
- }
- // Identify the language of the source file.
- return (this->GlobalGenerator
- ->GetLanguageFromExtension(source.GetSourceExtension().c_str()));
-}
-