summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-09-20 16:13:50 (GMT)
committerBrad King <brad.king@kitware.com>2006-09-20 16:13:50 (GMT)
commit358b947072d8f62fb7f812a1250e39a57668b0bf (patch)
tree9d2f56b5aaaf96b64aad1a5812ee6abb8337bd1b
parent194ef33a72bee33eba0fe069b7a68814b58aee13 (diff)
downloadCMake-358b947072d8f62fb7f812a1250e39a57668b0bf.zip
CMake-358b947072d8f62fb7f812a1250e39a57668b0bf.tar.gz
CMake-358b947072d8f62fb7f812a1250e39a57668b0bf.tar.bz2
BUG: cmake_force needs to be written into build.make as well as Makefile.
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 1e968d9..aee3392 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -738,6 +738,17 @@ cmLocalUnixMakefileGenerator3
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.
this->WriteMakeVariables(makefileStream);
}
@@ -782,17 +793,6 @@ void cmLocalUnixMakefileGenerator3
no_depends,
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);
- }
}