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

Change History (2)

comment:1 by szekerest, 17 years ago

The related changes have been committed to the CVS-HEAD and the 4-10 branch

Currently the .exe and .dll created in mapserver root directory and in the
mapscript/csharp were affected.


comment:2 by tamas, 17 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.