diff options
author | Brad King <brad.king@kitware.com> | 2006-09-20 16:13:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-09-20 16:13:50 (GMT) |
commit | 358b947072d8f62fb7f812a1250e39a57668b0bf (patch) | |
tree | 9d2f56b5aaaf96b64aad1a5812ee6abb8337bd1b | |
parent | 194ef33a72bee33eba0fe069b7a68814b58aee13 (diff) | |
download | CMake-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.cxx | 22 |
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); - } } |