[cmake-developers] Extracting target metadata, IDE integration

Brad King brad.king at kitware.com
Mon Sep 8 08:51:43 EDT 2014


On 09/03/2014 12:12 PM, Aleix Pol wrote:
> On Wed, Sep 3, 2014 at 5:48 PM, Alexander Neundorf wrote:
>>     I still don't understand why this shouldn't be an additional ExtraGenerator.
> 
> Because it's not possible to change the generator of a build directory
> once it's set up. You need to nuke it and re-create it.
[snip]
On 09/01/2014 07:27 PM, Aleix Pol wrote:
> Ok, how does it sound if we have a variable, such as CMAKE_EXPORT_COMPILE_COMMANDS?
> Let's say, CMAKE_EXPORT_TARGETS_INFORMATION.

A control variable like that sounds good to me.  The purpose looks very
similar to CMAKE_EXPORT_COMPILE_COMMANDS, but is distinct enough to have
its own control.

Thanks,
-Brad




More information about the cmake-developers mailing list