Displaying 1 result from an estimated 1 matches for "outputresource".
2006 Aug 15
2
Windows build with Visual Studio 2005 - some success
...entifier ''inline''
... some more stuff
Aha. VS2005 does not like the "inline" keyword, that appears to only
apply to C++ code.
3. Changed the Makefile to the following magical incantation:
CFLAGS = -MD -Zi -O2b2x /Dinline=__inline /Ob /LTCG /DWIN32
Also added
mt.exe -outputresource:$(DLLIB);2 -manifest $(DLLIB).manifest
to the $(DLLIB): target (this is required for VS2005 to generate
compatible dlls):
$(DLLIB): $(DEFFILE) $(OBJS)
@-$(RM) $@
$(LDSHARED) -Fe$(@) $(OBJS) $(LIBS) $(LOCAL_LIBS) $(DLDFLAGS)
mt.exe -outputresource:$(DLLIB);2 -manifest $(DLLIB).m...