<if cond="BUILD=='debug'">off</if>
<if cond="BUILD=='release'">speed</if>
</set>
+ <set var="EXCEPTIONSFLAG">
+ <if cond="USE_EXCEPTIONS=='1'">on</if>
+ <if cond="USE_EXCEPTIONS=='0'">off</if>
+ </set>
<set var="DEBUG_DEFINE">
<if cond="FORMAT!='autoconf' and BUILD=='debug' and DEBUG_FLAG=='default'">__WXDEBUG__</if>
<optimize>$(OPTIMIZEFLAG)</optimize>
<threading>multi</threading>
<runtime-libs>$(RUNTIME_LIBS)</runtime-libs>
+ <cxx-rtti>$(EXCEPTIONSFLAG)</cxx-rtti>
+ <cxx-exceptions>$(EXCEPTIONSFLAG)</cxx-exceptions>
<if cond="FORMAT!='autoconf'">
<cppflags>$(EXTRACFLAGS)</cppflags>
</if>
</description>
</option>
+ <option name="USE_EXCEPTIONS">
+ <values>0,1</values>
+ <default-value>1</default-value>
+ <description>
+ Enable exceptions in compiled code.
+ </description>
+ </option>
+
<option name="OFFICIAL_BUILD">
<values>0,1</values>
<default-value>0</default-value>
<set var="USE_ODBC">1</set>
<set var="MONOLITHIC">0</set>
<set var="USE_GUI">1</set>
+ <set var="USE_EXCEPTIONS">1</set>
<set var="DEBUG_INFO">default</set>
<set var="DEBUG_FLAG">default</set>
<set var="MSLU">0</set>