[CMake] Windows 8 and Visual Studio 2011 Developer Preview cannot open cmake-generated vcproj files

Bill Hoffman bill.hoffman at kitware.com
Fri Oct 21 07:36:13 EDT 2011


On 10/20/2011 6:56 PM, David Cole wrote:

> It's not a Windows 8 thing at all... Same symptom occurs on Windows 7.
> It's CMake generating this incorrectly:
>
>    # Visual Studio 2011
>
> When it should be generating:
>
>    # Visual Studio 11
>
> Since the comment there does not start with the expected string, the
> launcher does not recognize it.
>
> This commit just pushed to 'next' should fix it:
>
>    http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f0d66ab40aee3af3d201201e7b1275783ffbab36
>
> That commit will make it into the next rev of CMake.
>
>
So, you should be able to build if you open VS 11, and then use File 
open and find the .sln file that CMake created.  It just won't work from 
explorer by double clicking.

-Bill



More information about the CMake mailing list