From 1fc3b015901d7530f3b2af5e69fa9d93c935ffb6 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Thu, 11 Jan 2007 05:37:20 +0000 Subject: Embed the .manifest files of all httpd binaries as a post-build operation. This ensures the exported (Studio 97 generated) .mak files create a usable Apache directly from the VC 8 (Studio 2005) command line environment. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@495126 13f79535-47bb-0310-9956-ffa450edef68 --- httpd.dsp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'httpd.dsp') diff --git a/httpd.dsp b/httpd.dsp index 9fb77101d9..c080269ce1 100644 --- a/httpd.dsp +++ b/httpd.dsp @@ -51,6 +51,12 @@ BSC32=bscmake.exe LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib /nologo /subsystem:console # ADD LINK32 kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib /nologo /stack:0x40000 /subsystem:console /debug /opt:ref +# Begin Special Build Tool +TargetPath=.\Release\httpd.exe +SOURCE="$(InputPath)" +PostBuild_Desc=Embed .manifest +PostBuild_Cmds=if exist $(TargetPath).manifest mt.exe -manifest $(TargetPath).manifest -outputresource:$(TargetPath);2 +# End Special Build Tool !ELSEIF "$(CFG)" == "httpd - Win32 Debug" @@ -76,6 +82,12 @@ BSC32=bscmake.exe LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib /nologo /subsystem:console /incremental:no /debug # ADD LINK32 kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib /nologo /stack:0x40000 /subsystem:console /incremental:no /debug +# Begin Special Build Tool +TargetPath=.\Debug\httpd.exe +SOURCE="$(InputPath)" +PostBuild_Desc=Embed .manifest +PostBuild_Cmds=if exist $(TargetPath).manifest mt.exe -manifest $(TargetPath).manifest -outputresource:$(TargetPath);2 +# End Special Build Tool !ENDIF -- cgit v1.2.1