diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-21 01:54:35 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-21 01:54:35 (GMT) |
commit | 2a335ae7487cfb54f518a116fc92ac55f58eee6a (patch) | |
tree | 86834d75a7e5ae17ac2ea52bbec48dbbc78abce0 /Source/cmMakefileTargetGenerator.cxx | |
parent | 03cee03f679d0679b63fe35ee177571ee52cabcb (diff) | |
download | CMake-2a335ae7487cfb54f518a116fc92ac55f58eee6a.zip CMake-2a335ae7487cfb54f518a116fc92ac55f58eee6a.tar.gz CMake-2a335ae7487cfb54f518a116fc92ac55f58eee6a.tar.bz2 |
ENH: ignore all files that we do not know about just like in ide generators
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index f114b73..a73213a 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -245,9 +245,7 @@ void cmMakefileTargetGenerator::WriteObjectRuleFiles(cmSourceFile& source) const char* lang = this->LocalGenerator->GetSourceFileLanguage(source); if(!lang) { - // If language is not known, this is an error. - cmSystemTools::Error("Source file \"", source.GetFullPath().c_str(), - "\" has unknown type."); + // don't know anything about this file so skip it return; } |