MantisBT - CMake
View Issue Details
0015830CMakeCMakepublic2015-11-03 10:372016-06-10 14:31
Ben Boeckel 
Kitware Robot 
normalminorhave not tried
closedmoved 
 
 
0015830: With Ninja generator "rebuild_cache" runs cmake twice
When running the "rebuild_cache" target, Ninja will first rerun CMake to make its build.ninja file and then run the rebuild_cache target which reruns CMake again. Is it possible to reduce it to rebuild-if-necessary?
No tags attached.
Issue History
2015-11-03 10:37Ben BoeckelNew Issue
2015-11-04 08:36Brad KingNote Added: 0039831
2015-12-21 10:56Brad KingTarget VersionCMake 3.5 =>
2016-06-10 14:29Kitware RobotNote Added: 0042879
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0039831)
Brad King   
2015-11-04 08:36   
It re-runs twice only if it would have re-run with plain "ninja". Otherwise "ninja rebuild_cache" runs only once. Still, the run-twice case would be nice to correct.
(0042879)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.