summaryrefslogtreecommitdiff
path: root/httpd.dsp
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2007-01-11 05:37:20 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2007-01-11 05:37:20 +0000
commit1fc3b015901d7530f3b2af5e69fa9d93c935ffb6 (patch)
treeb15968ea9be9c9a9674d3704f8b2e1480c563947 /httpd.dsp
parent042633cd16f529369f47efd78becd1a9444f93f9 (diff)
downloadhttpd-1fc3b015901d7530f3b2af5e69fa9d93c935ffb6.tar.gz
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
Diffstat (limited to 'httpd.dsp')
-rw-r--r--httpd.dsp12
1 files changed, 12 insertions, 0 deletions
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