[cmake-developers] install/local/fast and install/strip/fast are not fast
Mike Gelfand
mikedld at mikedld.com
Thu Jan 12 15:39:36 EST 2017
Hello everyone,
Didn't trace back when this happened, but for quite a long time now
install/local/fast and install/strip/fast targets, at least when using
"Unix Makefiles" generator, are not at all fast. They depend on
install/local and install/strip targets respectively instead of
preinstall/fast and don's contain any commands instead of repeating
commands in install/local and install/strip.
The patch that follows (against current master) is enough to make things
right.
Regards,
Mike
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1592,8 +1592,8 @@ void
cmLocalUnixMakefileGenerator3::WriteLocalAllRules(
// Provide a "/fast" version of the target.
depends.clear();
- if ((targetName == "install") || (targetName == "install_local") ||
- (targetName == "install_strip")) {
+ if ((targetName == "install") || (targetName == "install/local") ||
+ (targetName == "install/strip")) {
// Provide a fast install target that does not depend on all
// but has the same command.
depends.push_back("preinstall/fast");
More information about the cmake-developers
mailing list