[CMake] Check for working C compiler using: Visual Studio 10 -- broken

Bill Hoffman bill.hoffman at kitware.com
Tue Mar 5 12:09:43 EST 2013


On 3/5/2013 11:40 AM, Mateusz Loskot wrote:
> Nice tip with the solution in the CMakeTmp, I had no idea about it.
>
> I figured out that the VS2010 project there, cmTryCompileExec3417082516.vcxproj,
> specifies for linker  /INCREMENTAL:YES
> If I change to /INCREMENTAL:NO, then it builds.
>
> Still not sure how the VS2010/VS2012 toolsets interfere here,
> but it looks like this mess is not related to any problems with CMake.
Seems to match what is in that stackoverflow article.  Taking off 
incremental seemed to fix the problem for them as well.   If you read 
that thread close, there seems to be ways to fix the problem...

-Bill



More information about the CMake mailing list