[cmake-developers] [CMake 0015462]: Provide a machine readable way to determine the available generators

Mantis Bug Tracker mantis at public.kitware.com
Sat Mar 21 04:17:08 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15462 
====================================================================== 
Reported By:                Stephen Kelly
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15462
Category:                   CMake
Reproducibility:            have not tried
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-03-21 09:17 CET
Last Modified:              2015-03-21 09:17 CET
====================================================================== 
Summary:                    Provide a machine readable way to determine the
available generators
Description: 
As per 

 http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/12658/focus=12750

Providing some easily parsed way of determining the available generators for
IDEs would be useful. Eg:


 $ cmake -E list_generators
 {
   "generators": [
     {
       "name": "Unix Makefiles",
       "multiconfig": false,
       "recursive": true,
       "extraGenerators": ["Sublime", "CodeBlocks"]
     },
     {
       "name": "Ninja",
       "multiconfig": false,
       "recursive": false,
       "extraGenerators": ["Sublime", "CodeBlocks"]
     },
     {
       "name": "Xcode"
       "multiconfig": true,
       ...
     }
     ...
  ]
 }

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-03-21 09:17 Stephen Kelly  New Issue                                    
======================================================================



More information about the cmake-developers mailing list