Opened 17 years ago
Closed 17 years ago
#2048 closed defect (fixed)
Add manifest support to makefile for Visual C++ 2005
Reported by: | szekerest | Owned by: | szekerest |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Build Problems | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
There are known problems with missing manifests when building GDAL with Visual C++ 2005. This report is dedicated to memorize the issue for fix in near future. Here is MSDN article "How to: Embed a Manifest Inside a C/C++ Application" http://msdn2.microsoft.com/en-us/library/ms235591.aspx There are a number of issues reported on the mapserver lists related to this problem, mostly for the C# binding The proposed implementation will test the existence of the .manifest file and embed the contents as a resource using the mt tool, like for the C# makefile $(MAPSCRIPT_DLL): $(MAPSCRIPT_OBJS) $(LINK) $(LDFLAGS) /out:$(MAPSCRIPT_DLL) $(MAPSCRIPT_OBJS) $(MS_LIBS) if exist $(MAPSCRIPT_DLL).manifest mt -manifest $(MAPSCRIPT_DLL).manifest -outputresource:$(MAPSCRIPT_DLL);#2
Note:
See TracTickets
for help on using tickets.