Opened 17 years ago
Closed 16 years ago
#212 closed defect (fixed)
MSVC: "<embed-manifest>off" breaks synchorization between target and actual files.
| Reported by: | Owned by: | somebody | |
|---|---|---|---|
| Priority: | major | Milestone: | M13 |
| Component: | component1 | Version: | |
| Keywords: | Cc: |
Description
First, the MANIFEST target added by "msvc-linking-generator::generated-targets" rule when "<embed-manifest>off" is specified uses wrong manifest file name: "foobar.manifest instead" of "foobar.exe.manifest". This causes continuous rebuilding of .exe when some other target depends on .exe target. This can be fixed by patching the name before creating MANIFEST target.
Second, the manifest file itself is not always generated by the linker. It will not be generated if the linker didn't found any WinSxS dependencies. But when "<embed-manifest>off" BBv2 assumes that the manifest will be always generated. This can cause the same "always rebuilding .exe" problem as above. It is also a bit tricky (but possible) to work around this issue by changing target requirements because, for example, "<runtime-link>shared" also adds WinSxS dependency on RTL. This can be fixed by /MANIFEST linker option.
Attachments (2)
Change History (5)
by , 17 years ago
| Attachment: | msvc.manifest.diff added |
|---|
comment:1 by , 17 years ago
The 1st issue was fixed in http://svn.boost.org/trac/boost/changeset/51007.
comment:3 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |

A patch that is fixing both problems.