</msvc-project-files>
</if>
</define-tag>
+
+ <define-tag name="msvc-copy-setup-h" rules="dll,lib">
+ <if cond="FORMAT=='msvc6prj'">
+ <msvc-headers>wx/msw/setup.h</msvc-headers>
+ <set var="__custom_build_files" append="1">
+ include\wx\msw\setup.h
+ </set>
+ <set var="__custom_build_include_wx_msw_setup_h">
+Creating $(LIBDIRNAME)\wx\setup.h
+InputPath=..\include\wx\msw\setup.h
+
+"$(LIBDIRNAME)\wx\setup.h" : $(DOLLAR)(SOURCE) "$(DOLLAR)(INTDIR)" "$(DOLLAR)(OUTDIR)"
+$(TAB)copy "$(DOLLAR)(InputPath)" $(LIBDIRNAME)\wx\setup.h
+ </set>
+ </if>
+ </define-tag>
<!-- for GUI libs/samples: -->
<template id="wx_append_nomono" template="wx_append_base_nomono">
<define>wxUSE_BASE=1</define>
<define>WXMAKINGDLL</define>
<sources>$(MONOLIB_SRC)</sources>
- <msvc-headers>$(ALL_HEADERS)</msvc-headers>
<ldlibs>$(EXTRALIBS_XML)</ldlibs>
+ <msvc-headers>$(ALL_HEADERS)</msvc-headers>
+ <msvc-copy-setup-h/>
</dll>
<lib id="monolib" template="wx_lib"
<define>wxUSE_GUI=0</define>
<sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
<msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers>
+ <msvc-copy-setup-h/>
</dll>
<lib id="baselib" template="wx_base_lib"