[cmake-developers] Determining version and arch for Visual Studio generators.

Stephen Kelly steveire at gmail.com
Wed Apr 10 16:35:22 EDT 2013


Bill Hoffman wrote:

> Seems a bit unstable to hard code the version.  I wonder if you can
> detect the one that is being used somehow?

I don't think it's unstable, but I do think the version and arch should be 
detected somehow. 

Would it be possible for cmake to run devenv to check the version and arch 
before setting the default generator? That would have anticipated and pre-
solved the bug here.

Thanks,

Steve.





More information about the cmake-developers mailing list