diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-04-03 15:11:54 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-04-03 15:11:54 (GMT) |
commit | 5514b2811b9d5887cec58ce376ac4065eac438f2 (patch) | |
tree | bcce4587e44e30080c8730113b75b4ceaae29f91 /Source | |
parent | e00d702cdd49778296651d0bf01f86256d4daa92 (diff) | |
download | CMake-5514b2811b9d5887cec58ce376ac4065eac438f2.zip CMake-5514b2811b9d5887cec58ce376ac4065eac438f2.tar.gz CMake-5514b2811b9d5887cec58ce376ac4065eac438f2.tar.bz2 |
BUG: response file must be a copy if different or you get relinks every time you run cmake
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index b15410b..ee99b1c 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -1594,6 +1594,7 @@ cmMakefileTargetGenerator responseFileNameFull += "/"; responseFileNameFull += name; cmGeneratedFileStream responseStream(responseFileNameFull.c_str()); + responseStream.SetCopyIfDifferent(true); responseStream << options << "\n"; // Add a dependency so the target will rebuild when the set of |