[cmake-developers] [CMake] Visual Studio <Version> <Arch> - Ninja Generator
Stephen Kelly
steveire at gmail.com
Tue Sep 22 16:42:50 EDT 2015
James Johnston wrote:
>> > it would be useful to have Visual Studio available as an "Extra" CMake
>> > generator. For example, specification of "Visual Studio 2015 - Ninja"
>>
>> This functionality sounds reasonable but the name of the extra/generator
>> pair looks funny when spelled out that way. We should consider having
>> another way to specify the extra generator.
>
> This name is consistent with the other extra generators:
... however the design is not.
The 'extra generators' do their generation after the 'real' makefile or
ninja generator.
Your proposal seems to be something different design-wise. From what I
understand, you are proposing something which would need to do different
things during the 'real' generate.
In terms of name though, it might not matter that IDE and non-IDE 'extra'
generators are implemented in completely different ways.
> But I agree it is just confusing at this point. Maybe this format could
> be deprecated in favor of a new cmake.exe switch to specify an extra
> generator.
Perhaps. It seems Xcode+Ninja could also be a valid pairing.
Thanks,
Steve.
More information about the cmake-developers
mailing list