|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001104||CMake||public||2004-08-19 09:20||2012-03-30 11:48|
|Assigned To||Bill Hoffman|
|Target Version||Fixed in Version|
|Summary||0001104: Auto-relink support when source is removed|
|Description||When a source file is removed from a library there is no dependency that tells the library to relink without the extra object file. We can fix this by generating an extra source file for the library that contains some unreferenced dummy symbol. The source file would also contain a comment containing the list of other source files being linked into the library. When this list changes the source file would be modified and the library would relink to include the updated object file. As a side effect the removed source files would not be included in the library (unless there is some incremental linking problem in which case we'll need more flags to the linker to avoid it).|
If we do not want to add this as an always-on feature we could have a target property for libraries called something like AUTO_RELINK that enables this feature.
|Tags||No tags attached.|
Alex Neundorf (developer)
I tried and cannot reproduce it with current cmake. AFAIK the libs depend on the makefiles, so it will be linked again.
Ok to close it ?
Brad King (manager)
You're correct, this was fixed by cm*MakefileGenerator3.
|2012-03-30 11:48||Eric NOULARD||Relationship added||duplicate of 0013072|
|2012-03-30 13:05||Brad King||Relationship deleted||0013072|
|Copyright © 2000 - 2018 MantisBT Team|