BUG: cmake_force needs to be written into build.make as well as Makefile.
This commit is contained in:
parent
194ef33a72
commit
358b947072
|
@ -738,6 +738,17 @@ cmLocalUnixMakefileGenerator3
|
||||||
no_commands, false);
|
no_commands, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Special symbolic target that never exists to force dependers to
|
||||||
|
// run their rules.
|
||||||
|
{
|
||||||
|
std::vector<std::string> no_depends;
|
||||||
|
std::vector<std::string> no_commands;
|
||||||
|
this->WriteMakeRule
|
||||||
|
(makefileStream,
|
||||||
|
"A target that is always out of date.",
|
||||||
|
"cmake_force", no_depends, no_commands, true);
|
||||||
|
}
|
||||||
|
|
||||||
// Variables for reference by other rules.
|
// Variables for reference by other rules.
|
||||||
this->WriteMakeVariables(makefileStream);
|
this->WriteMakeVariables(makefileStream);
|
||||||
}
|
}
|
||||||
|
@ -782,17 +793,6 @@ void cmLocalUnixMakefileGenerator3
|
||||||
no_depends,
|
no_depends,
|
||||||
commands, true);
|
commands, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Special symbolic target that never exists to force dependers to
|
|
||||||
// run their rules.
|
|
||||||
{
|
|
||||||
std::vector<std::string> no_depends;
|
|
||||||
std::vector<std::string> no_commands;
|
|
||||||
this->WriteMakeRule
|
|
||||||
(makefileStream,
|
|
||||||
"A target that is always out of date.",
|
|
||||||
"cmake_force", no_depends, no_commands, true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue