View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001460CMakepublic2005-01-06 17:522005-06-14 12:24
ReporterDaniel Gomez 
Assigned ToBill Hoffman 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001460: .vcproj (VS7) generator always sets LinkIncremental="1" regardless of flags
DescriptionThe generated .vcproj files always specify LinkIncremental="1", corresponding to the linker flag "/INCREMENTAL:NO", even if that flag was never given in any of the CMake LINKER_FLAGS variables. (Incremental linking, i.e. "/INCREMENTAL", is the default.)

cmLocalVisualStudio7Generator.cxx writes out this setting as a fixed string, so I cannot override it without modifying CMake itself.

This is a problem because we build our debugging executables using the "Edit & Continue" feature of the Microsoft toolset, and have been warned by the linker: "LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification".
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0002055)
Bill Hoffman (manager)
2005-02-11 14:21

fixed in cvs
(0002496)
Ralph Ehler (reporter)
2005-06-14 11:16

The issue is not(!) fixed in cmake 2.0 patch 6. The LinkIncremental flag is always set to 1 regardless of set linker flags. This enhances our link time very much because the whole application is linked again after every change.
(0002497)
Bill Hoffman (manager)
2005-06-14 12:24

It is fixed in cvs cmake, not 2.0.6. I don't think
there will be a 2.0.7 at this point, so you will have to wait for 2.2. You may want to try cvs cmake to verify that it is fixed for you there.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team