ENH: Added partial RC language dependency scanning (just using C dependencies for now).

This commit is contained in:
Brad King 2004-11-02 18:09:22 -05:00
parent 6de0ff4b00
commit 2823a4797a
1 changed files with 2 additions and 1 deletions

View File

@ -2128,8 +2128,9 @@ cmLocalUnixMakefileGenerator2
// Dispatch the scan for each language. // Dispatch the scan for each language.
std::string const& lang = args[2]; std::string const& lang = args[2];
if(lang == "C" || lang == "CXX") if(lang == "C" || lang == "CXX" || lang == "RC")
{ {
// TODO: Handle RC (resource files) dependencies correctly.
return cmLocalUnixMakefileGenerator2::ScanDependenciesC(objFile, srcFile, return cmLocalUnixMakefileGenerator2::ScanDependenciesC(objFile, srcFile,
includes); includes);
} }