Hello,
At the moment the win32 debug build using visual studio 6 fails on those
.dsp files that contain Custom Build directives, like for example
javahl_java_msvc.dsp.
It appears that msdev, when encountering Custom Build directives in the
.dsp file that are not specified for both the Release and Debug target,
only uses those Custom Build directives for the Release target. This can
be shown when opening such a .dsp file in visual studio. It will show
that in the project settings the Custom Build directives are only shown
for the Release target.
The attached patch fixes this problem by specifying the (same) Custom
Build directives separately for the Release and the Debug target, using:
!IF "$(CFG)" == "javahl_java - Win32 Debug"
!ELSEIF "$(CFG)" == "javahl_java - Win32 Release"
!ENDIF
[[
Fix Debug target build failure by explicitly specifying the
Custom Build directives for both the Release and Debug target.
* build/generator/msvc_dsp.ezt
Fix Debug target build failure by explicitly specifying the
Custom Build directives for both the Release and Debug target.
]]
Kind regards,
Gerrit Jan
--
G.J. Doornink <dkg@xs4all.nl>
Index: build/generator/msvc_dsp.ezt
===================================================================
--- build/generator/msvc_dsp.ezt (revision 21158)
+++ build/generator/msvc_dsp.ezt (working copy)
@@ -64,6 +64,8 @@
!ENDIF
[end][for sources.user_deps][if-index sources.user_deps first]
USERDEP__=[else] [end]"[sources.user_deps]"[end][if-any sources.custom_build]
+[for platforms][for configs]
+![if-index platforms first][if-index configs first][else]ELSE[end][else]ELSE[end]IF "$(CFG)" == "[target.proj_name] - [platforms] [configs.name]"
# Begin Custom Build
@@ -73,7 +75,8 @@
[if-any sources.custom_build] [sources.custom_build]
[end]
# End Custom Build
-
+[end][end]
+!ENDIF
[end]
# End Source File
[end]
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 25 22:43:51 2006