View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014672CMakeCMakepublic2013-12-27 05:592016-06-10 14:31
ReporterAmine Khaldi 
Assigned ToKitware Robot 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake 2.8.12 
Target VersionFixed in Version 
Summary0014672: Ninja generator doesn't handle OBJECT_OUTPUT correctly
DescriptionWhen 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.
TagsNo tags attached.
Attached Filespatch file icon object_outputs.patch [^] (3,763 bytes) 2014-01-06 17:32 [Show Content]

 Relationships

  Notes
(0034911)
Nils Gladitz (developer)
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 (administrator)
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.

 Issue History
Date Modified Username Field Change
2013-12-27 05:59 Amine Khaldi New Issue
2013-12-27 06:04 Nils Gladitz Description Updated
2014-01-02 15:06 Brad King Assigned To => Peter Kuemmel
2014-01-02 15:06 Brad King Status new => assigned
2014-01-06 17:32 Nils Gladitz File Added: object_outputs.patch
2014-01-06 17:33 Nils Gladitz Note Added: 0034911
2014-04-13 05:44 Peter Kuemmel Assigned To Peter Kuemmel =>
2014-04-13 05:46 Peter Kuemmel Status assigned => confirmed
2016-06-10 14:29 Kitware Robot Note Added: 0042454
2016-06-10 14:29 Kitware Robot Status confirmed => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team