BUG: response file must be a copy if different or you get relinks every time you run cmake

This commit is contained in:
Bill Hoffman 2008-04-03 11:11:54 -04:00
parent e00d702cdd
commit 5514b2811b

View File

@ -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