Commit 0b028c6f authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'ninja-avoid-double-phony'

04377f1b Ninja: Remove CMake includes from explicit depends (#14972)
parents 3eb50bbe 04377f1b
......@@ -961,7 +961,16 @@ void cmGlobalNinjaGenerator::WriteUnknownExplicitDependencies(std::ostream& os)
knownDependencies.insert( ng->ConvertToNinjaPath( j->c_str() ) );
//get list files which are implicit dependencies as well and will be phony
//for rebuild manifest
std::vector<std::string> const& lf = (*i)->GetMakefile()->GetListFiles();
typedef std::vector<std::string>::const_iterator vect_it;
for(vect_it j = lf.begin(); j != lf.end(); ++j)
knownDependencies.insert( ng->ConvertToNinjaPath( j->c_str() ) );
knownDependencies.insert( "CMakeCache.txt" );
li = this->EvaluationFiles.begin();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment