]> git.saurik.com Git - wxWidgets.git/commitdiff
define wxNO_RTTI/EXCEPTIONS/THREADS if corresponding USE_XXX is set to 0
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Mar 2005 22:08:19 +0000 (22:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Mar 2005 22:08:19 +0000 (22:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/bakefiles/common.bkl

index 0158fc2e47a6973e0fde02cd851391a5ddb2cd83..9075a884d5e3e1c955fa16436394fe57ccc9264e 100644 (file)
         <if cond="USE_THREADS=='0'">single</if>
     </set>
 
+    <set var="RTTI_DEFINE">
+       <if cond="USE_RTTI=='0'">wxNO_RTTI</if>
+    </set>
+    <set var="EXCEPTIONS_DEFINE">
+       <if cond="USE_EXCEPTIONS=='0'">wxNO_EXCEPTIONS</if>
+    </set>
+    <set var="THREAD_DEFINE">
+       <if cond="USE_THREADS=='0'">wxNO_THREADS</if>
+    </set>
+
     <set var="DEBUG_DEFINE">
         <if cond="FORMAT!='autoconf' and BUILD=='debug' and DEBUG_FLAG=='default'">__WXDEBUG__</if>
         <if cond="FORMAT!='autoconf' and DEBUG_FLAG=='1'">__WXDEBUG__</if>
@@ -394,6 +404,9 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
         <define>__WX$(TOOLKIT)__</define>
         <define>$(WXUNIV_DEFINE)</define>
         <define>$(DEBUG_DEFINE)</define>
+        <define>$(EXCEPTIONS_DEFINE)</define>
+        <define>$(RTTI_DEFINE)</define>
+        <define>$(THREAD_DEFINE)</define>
         <define>$(UNICODE_DEFINE)</define>
         <!-- this include is added by configure, we need to put other
              includes before it: -->