Can you suggest any further experiments?
 Do you have any idea what the problem could be?

Can you try this:

edit cmCoreTryCompile.cxx  around line 216 and add the // ADD line:

    fprintf(fout, " ${COMPILE_DEFINITIONS}\")\n");
    fprintf(fout, "INCLUDE_DIRECTORIES(${INCLUDE_DIRECTORIES})\n");
    fprintf(fout, "SET(CMAKE_SUPPRESS_REGENERATION 1)\n"); // *** ADD
    fprintf(fout, "LINK_DIRECTORIES(${LINK_DIRECTORIES})\n");


It works! Now it correctly configures and generates the Visual Studio Solution.

It is working for our main project as well as the example.

Thanks Bill!
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to