MantisBT - CMake
View Issue Details
0014672CMakeCMakepublic2013-12-27 05:592016-06-10 14:31
Amine Khaldi 
Kitware Robot 
normalmajoralways
closedmoved 
CMake 2.8.12 
 
0014672: Ninja generator doesn't handle OBJECT_OUTPUT correctly
When you use the make makefiles for example, the output marked as OBJECT_OUTPUT gets recognized properly and it gets (for example) cleaned up when you clean a target. When you use the ninja generator that property is pretty much ignored and in the previous example the file stays there when you clean. In our case, it's a serious issue leading to problems with the MSVC PCH system.
No tags attached.
patch object_outputs.patch (3,763) 2014-01-06 17:32
https://public.kitware.com/Bug/file/5040/object_outputs.patch
Issue History
2013-12-27 05:59Amine KhaldiNew Issue
2013-12-27 06:04Nils GladitzDescription Updatedbug_revision_view_page.php?rev_id=1353#r1353
2014-01-02 15:06Brad KingAssigned To => Peter Kuemmel
2014-01-02 15:06Brad KingStatusnew => assigned
2014-01-06 17:32Nils GladitzFile Added: object_outputs.patch
2014-01-06 17:33Nils GladitzNote Added: 0034911
2014-04-13 05:44Peter KuemmelAssigned ToPeter Kuemmel =>
2014-04-13 05:46Peter KuemmelStatusassigned => confirmed
2016-06-10 14:29Kitware RobotNote Added: 0042454
2016-06-10 14:29Kitware RobotStatusconfirmed => 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
(0034911)
Nils Gladitz   
2014-01-06 17:33   
I have attached a patch that I have been playing with.
It only works with ninja deps disabled since otherwise I get:

  ninja: error: build.ninja:43: multiple outputs aren't (yet?) supported by depslog; bring this up on the mailing list if it affects you
(0042454)
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.