+ <!-- deal with the need to copy setup.h here: -->
+
+ <set var="IS_MSVC_PRJ">$(FORMAT in ['msvc6prj','msevc4prj'])</set>
+
+ <define-tag name="msvc-headers" rules="dll,lib">
+ <if cond="IS_MSVC_PRJ">
+ <msvc-project-files>
+ $(addPrefixToList('include\', wxwin.headersOnly(value)))
+ </msvc-project-files>
+ </if>
+ </define-tag>
+
+ <define-tag name="msvc-copy-setup-h" rules="dll,lib">
+ <if cond="FORMAT=='msevc4prj'">
+ <msvc-headers>wx/msw/wince/setup.h</msvc-headers>
+ <set var="vc_setup_h">wince\setup.h</set>
+ <set var="vc_setup_h_rule">wince_setup_h</set>
+ </if>
+ <if cond="FORMAT!='msevc4prj'">
+ <msvc-headers>wx/msw/setup.h</msvc-headers>
+ <set var="vc_setup_h">setup.h</set>
+ <set var="vc_setup_h_rule">setup_h</set>
+ </if>
+ <if cond="IS_MSVC_PRJ">
+ <set var="_custom_build_files" append="1">
+ include\wx\msw\$(vc_setup_h)
+ </set>
+ <set var="_custom_build_include_wx_msw_$(vc_setup_h_rule)">
+Creating $(SETUPHDIR)\wx\setup.h
+InputPath=..\include\wx\msw\$(vc_setup_h)
+
+"$(SETUPHDIR)\wx\setup.h" : $(DOLLAR)(SOURCE) "$(DOLLAR)(INTDIR)" "$(DOLLAR)(OUTDIR)"
+$(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
+ </set>
+ </if>
+ </define-tag>
+
+ <template id="msvc_setup_h">
+ <msvc-copy-setup-h/>
+ </template>
+