we don't want to clutter the source tree with these files.
-->
- <disable-formats>dmars,dmars_smake,msevc4prj,msvs2003prj</disable-formats>
+ <disable-formats>dmars,dmars_smake,msevc4prj</disable-formats>
<!-- These wildcards match all .bkl files in wxWidgets tree: -->
<makefile>
- <requires version="0.2.1"/>
+ <requires version="0.2.3"/>
<!-- bakefile modules we need: -->
<using module="datafiles"/>
</if>
<define>$(NO_VC_CRTDBG)</define>
<define>$(WIN32_WINNT)</define>
- <if cond="FORMAT=='msevc4prj' and
- BAKEFILE_VERSION in ['0.1.9'] and
- USE_RTTI=='0'">
- <!-- hack to make eVC4 2.6.2 project files compatible with what we had in 2.6.1 -->
- <set var="_ldlibs">$(_ldlibs.replace('ccrtrtti.lib', ''))</set>
- <set var="_cppflags">$(_cppflags.replace('/GR', ''))</set>
- </if>
<if cond="FORMAT=='msvc'">
<ldflags>$(LINK_TARGET_CPU)</ldflags>
</if>
<set var="TARGET_CPU"/>
</if>
- <!-- FIXME: restore this once bakefile is fixed to not use
- /Gm /GZ (incompatible with /O2) w/ debug-info -->
<set var="DEBUG_INFO_DEFAULT">
- <if cond="FORMAT in ['msvc','msvc6prj','msevc4prj','msvs2003prj','msvs2005prj']">1</if>
- <if cond="FORMAT not in ['msvc','msvc6prj','msevc4prj','msvs2003prj','msvs2005prj']">default</if>
+ <if cond="IS_MSVC_PRJ=='1'">1</if>
+ <if cond="IS_MSVC_PRJ=='0'">default</if>
</set>
- -->
- <set var="DEBUG_INFO_DEFAULT">default</set>
<option name="DEBUG_INFO">
<values>0,1,default</values>
<set var="WITH_PLUGIN_SDL">0</set>
- <set var="SRCDIR">
- <if cond="BUILDING_LIB=='1'">..$(DIRSEP)..</if>
- <if cond="BUILDING_LIB=='0'">.</if>
- </set>
+ <if cond="BUILDING_LIB=='1'">
+ <set-srcdir>../..</set-srcdir>
+ </if>
<set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set>
</if>
<depends-on-file>$(SRCDIR)/include/wx/msw/genrcdefs.h</depends-on-file>
<command>
- $(DOLLAR)(CPP) "$(SRCDIR)\include\wx\msw\genrcdefs.h" > "$(SETUPHDIR)\wx\msw\rcdefs.h"
+ $(DOLLAR)(CPP) "$(nativePaths(SRCDIR))\include\wx\msw\genrcdefs.h" > "$(SETUPHDIR)\wx\msw\rcdefs.h"
</command>
</action>