[CMake] CMake creates incompatible VS 2012 (VS 11) solution

NoRulez norulez at me.com
Fri Aug 3 09:26:18 EDT 2012


Hello,

I tried to create a visual studio 2012 solution under Windows 8 Release Preview.
This solution contains for demo purpose only a main.cpp file

I tried the 32 bit variant and the
cmake -G "Visual Studio 11" ..\source

64 bit variant:
cmake -G "Visual Studio 11 Win64" ..\source

After I load the *.sln file with Visual Studio I get the following result:

ALL_BUILD (incompatible)
DemoPrj (load failed)
ZERO_CHECK (incompatible)

Here is the CMakeLists.txt file:

project(DemoPrj)

add_executable(DemoPrj main.cpp)
target_link_libraries(DemoPrj)


And here is the main.cpp:

int main(int argc, char* argv[]) {
    return 0;
}

I use the following:

    cmake 2.8.8
    Visual Studio 2012 RC
    Windows 8 Release Preview


Is Visual Studio 2012 not supported yet?

Thanks in advance

Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120803/5f523388/attachment-0001.htm>


More information about the CMake mailing list