+
+ <if cond="FORMAT=='cbuilderx'">
+ <set var="EXTRACFLAGS">
+ <if cond="COMPILER=='gcc'">-DHAVE_W32API_H</if>
+ </set>
+ </if>
+
+
+ <!-- ================================================================== -->
+ <!-- Project files - hardcode some defaults -->
+ <!-- ================================================================== -->
+
+ <if cond="FORMAT_SUPPORTS_CONDITIONS=='0'">
+ <set var="RUNTIME_LIBS">dynamic</set>
+ <set var="OFFICIAL_BUILD">0</set>
+ <set var="USE_AUI">1</set>
+ <set var="USE_RICHTEXT">1</set>
+ <set var="USE_HTML">1</set>
+ <set var="USE_MEDIA">1</set>
+ <set var="USE_XRC">1</set>
+ <set var="USE_OPENGL">1</set>
+ <set var="USE_ODBC">1</set>
+ <set var="USE_QA">1</set>
+ <set var="MONOLITHIC">0</set>
+ <set var="USE_GUI">1</set>
+ <set var="USE_EXCEPTIONS">1</set>
+ <set var="USE_RTTI">1</set>
+ <set var="USE_THREADS">1</set>
+ <if cond="FORMAT!='autoconf'"><set var="USE_GDIPLUS">0</set></if>
+ <set var="DEBUG_INFO">$(DEBUG_INFO_DEFAULT)</set>
+ <set var="DEBUG_FLAG">default</set>
+ <set var="MSLU">0</set>
+ </if>
+
+
+ <!-- FIXME:
+ C++BuilderX supports only wxMSW, monolithic (sic!) static build
+ and the project can't be put into build/msw and store objects in
+ build/msw/something. This *must* be fixed! -->
+ <if cond="FORMAT=='cbuilderx'">
+ <set var="WXUNIV">0</set>
+ <set var="MONOLITHIC">1</set>
+ <set var="SRCDIR">.</set>
+ <set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set>
+ <set var="SHARED">0</set>
+ </if>
+
+
+ <!-- DigitalMars make is braindead, it doesn't have conditional
+ processing: -->
+ <if cond="FORMAT=='dmars'">
+ <set var="RUNTIME_LIBS">static</set>
+ <set var="BUILD">debug</set>
+ <set var="SHARED">0</set>
+ <set var="WXUNIV">0</set>
+ <set var="UNICODE">0</set>
+ <!-- Free version does not distribute OpenGL,
+ in commercial distribution better use dmars_smake format -->
+ <set var="USE_OPENGL">0</set>
+ </if>
+
+ <!-- No need for wxUniv on embedded devices (yet): -->
+ <if cond="FORMAT=='msevc4prj'">
+ <set var="WXUNIV">0</set>
+ <set var="UNICODE">1</set>
+ <!-- Uploading debug reports from PDAs seems impractical -->
+ <set var="USE_QA">0</set>
+ <set var="MONOLITHIC">1</set> <!-- sic! -->
+ <!-- RTTI and exceptions need separate cccrtti.lib with eVC4 -->
+ <set var="USE_RTTI">0</set>
+ <set var="USE_EXCEPTIONS">0</set>
+ </if>
+
+ <!-- Need for wxUniv within wxMGL: -->
+ <if cond="FORMAT!='autoconf' and TOOLKIT=='MGL'">
+ <set var="WXUNIV">1</set>
+ <set var="USE_THREADS">0</set>
+ <set var="RUNTIME_LIBS">static</set>
+ </if>
+