[CMake] VS2008 /INCREMENTAL:NO

Dmitriy Ovdienko dmitriy.ovdienko at gmail.com
Thu Mar 5 14:18:17 EST 2009


Hello All,

I'm trying to disable incremental linking in my VS2008 project. To
achieve it I used CMAKE_EXE_LINKER_FLAGS and CMAKE_EXTRA_LINK_FLAGS
flags.

SET( CMAKE_EXTRA_LINK_FLAGS "${CMAKE_EXTRA_LINK_FLAGS} /INCREMENTAL:NO" )

Unfortunately, neiher first nor send flags does not affect generated
VS project file. For Debug, RelWithDebInfo configurations I still see
/INCREMENTAL.

How should I fix this issue?

Thanks.

Dima

-- 
Best regards,
 Dmitriy                          mailto:dmitriy.ovdienko at gmail.com



More information about the CMake mailing list