BUG: Do not make a file depend on a virtual target. That causes everything to always rebuild.

This commit is contained in:
Brad King 2005-08-17 16:05:48 -04:00
parent 6179a0a455
commit 122ef73e3a
1 changed files with 0 additions and 8 deletions

View File

@ -602,14 +602,6 @@ cmLocalUnixMakefileGenerator3
flags.c_str()); flags.c_str());
} }
// Add dependencies known at CMake time.
std::string relativeObjDeps = relativeObj;
relativeObjDeps += "/depend";
this->WriteMakeRule(ruleFileStream, 0,
relativeObjDeps.c_str(), depends, no_commands);
depends.clear();
depends.push_back(relativeObjDeps);
// Make the target dependency scanning rule include cmake-time-known // Make the target dependency scanning rule include cmake-time-known
// dependencies. The others are handled by the check-build-system // dependencies. The others are handled by the check-build-system
// path. // path.