cmNinjaTargetGenerator: remove "preprocessed" mentions in dyndep

Not all languages compile the preprocessed source (or even have
preprocessed sources at all).
This commit is contained in:
Ben Boeckel
2019-02-25 10:14:11 -05:00
committed by Brad King
parent 933dd91642
commit 7c78adca8e
+3 -2
View File
@@ -594,7 +594,8 @@ void cmNinjaTargetGenerator::WriteCompileRule(const std::string& lang)
std::string ddRspContent = "$in";
std::string ddInput = "@" + ddRspFile;
// Run CMake dependency scanner on preprocessed output.
// Run CMake dependency scanner on the source file (using the preprocessed
// source if that was performed).
std::string const cmake = this->GetLocalGenerator()->ConvertToOutputFormat(
cmSystemTools::GetCMakeCommand(), cmLocalGenerator::SHELL);
ddCmds.push_back(cmake +
@@ -1121,7 +1122,7 @@ void cmNinjaTargetGenerator::WriteObjectBuildStatement(
if (needDyndep) {
// Tell dependency scanner the object file that will result from
// compiling the preprocessed source.
// compiling the source.
ppVars["OBJ_FILE"] = objectFileName;
// Tell dependency scanner where to store dyndep intermediate results.