[CMake] Did anyone manage to get incremental linking working with NMake generator?
Bill Hoffman
bill.hoffman at kitware.com
Thu Dec 9 08:44:15 EST 2010
On 12/9/2010 5:26 AM, Gabriel Petrovay wrote:
> Thanks Bill for the trick.
>
> Unfortunately this works only for exe targets.
> It doesn't work for dll's. Moreover, before the link command there is
> this output: "Visual Studio Non-Incremental Link"
>
If it says that then the /INCREMENTAL flag is not being used. You have
to set the CMAKE_SHARED_LINKER_FLAGS_DEBUG flag for this to work with
dlls, may also want to set this one: CMAKE_MODULE_LINKER_FLAGS_DEBUG.
-Bill
More information about the CMake
mailing list