View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013374CMakeCMakepublic2012-07-03 21:062016-06-10 14:31
ReporterJoe Drago 
Assigned ToPeter Kuemmel 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake 2.8.8 
Target VersionFixed in Version 
Summary0013374: Ninja: support cmake_depends
DescriptionIt looks like the makefile/NMakefile/jom generators leverage cmake's build-in command cmake_depends in order to generate header dependencies, but the new ninja generator doesn't use this, and instead has specific support for VS. I deal with a large cmake project at work which uses a compiler that is not based in either gcc or comes from MS, and in order for header deps to work at all, we depend on the jom generator's cmake_depends feature.

Is there any way to add a (global?) option for the ninja generator which uses the cmDependsC/cmake_depends calls for implicit deps instead of requiring either -MMD compiler support or cmcldeps?
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0029903)
Peter Kuemmel (developer)
2012-07-04 03:12

Currently ninja doesn't support cmake_depends.
The only way to support cmake_depends is to patch the cmake generator.

Does your compiler has a option to print out the included headers?
Maybe we could extend cmcldeps compiler support.
(0029905)
Joe Drago (reporter)
2012-07-04 11:41

There is a way to print the included headers to stderr, but that isn't incredibly useful. If there was a way to offer my own (complete) command line for cmcldeps, I could wrap that functionality in a script that would generate a valid deps file.
(0030469)
Peter Kuemmel (developer)
2012-08-13 08:46

feature request
(0042079)
Kitware Robot (administrator)
2016-06-10 14:28

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
2012-07-03 21:06 Joe Drago New Issue
2012-07-04 03:12 Peter Kuemmel Note Added: 0029903
2012-07-04 03:13 Peter Kuemmel Severity minor => feature
2012-07-04 03:13 Peter Kuemmel Status new => confirmed
2012-07-04 11:41 Joe Drago Note Added: 0029905
2012-08-13 08:46 Peter Kuemmel Note Added: 0030469
2012-08-13 08:46 Peter Kuemmel Assigned To => Peter Kuemmel
2012-08-13 08:46 Peter Kuemmel Status confirmed => backlog
2013-02-09 06:57 Peter Kuemmel Summary cmake_depends support for ninja => Ninja: support cmake_depends
2016-06-10 14:28 Kitware Robot Note Added: 0042079
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team