BUG: response file must be a copy if different or you get relinks every time you run cmake
This commit is contained in:
parent
e00d702cdd
commit
5514b2811b
@ -1594,6 +1594,7 @@ cmMakefileTargetGenerator
|
|||||||
responseFileNameFull += "/";
|
responseFileNameFull += "/";
|
||||||
responseFileNameFull += name;
|
responseFileNameFull += name;
|
||||||
cmGeneratedFileStream responseStream(responseFileNameFull.c_str());
|
cmGeneratedFileStream responseStream(responseFileNameFull.c_str());
|
||||||
|
responseStream.SetCopyIfDifferent(true);
|
||||||
responseStream << options << "\n";
|
responseStream << options << "\n";
|
||||||
|
|
||||||
// Add a dependency so the target will rebuild when the set of
|
// Add a dependency so the target will rebuild when the set of
|
||||||
|
Loading…
x
Reference in New Issue
Block a user