diff options
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 1bf3061..70ba7ea 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -1006,6 +1006,21 @@ void cmTarget::TraceDependencies(const char* vsProjectFile) } //---------------------------------------------------------------------------- +bool cmTarget::FindSourceFiles() +{ + for(std::vector<cmSourceFile*>::const_iterator + si = this->SourceFiles.begin(); + si != this->SourceFiles.end(); ++si) + { + if((*si)->GetFullPath().empty()) + { + return false; + } + } + return true; +} + +//---------------------------------------------------------------------------- void cmTarget::AddSources(std::vector<std::string> const& srcs) { for(std::vector<std::string>::const_iterator i = srcs.begin(); |