define NDEBUG if not using debug CRT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -261,6 +261,11 @@
|
||||
<if cond="FORMAT!='autoconf' and BUILD=='debug' and DEBUG_FLAG=='default'">__WXDEBUG__</if>
|
||||
<if cond="FORMAT!='autoconf' and DEBUG_FLAG=='1'">__WXDEBUG__</if>
|
||||
</set>
|
||||
<set var="NDEBUG_DEFINE">
|
||||
<if cond="FORMAT!='autoconf' and DEBUG_RUNTIME_LIBS=='default' and BUILD=='release'">NDEBUG</if>
|
||||
<if cond="FORMAT!='autoconf' and DEBUG_RUNTIME_LIBS=='0'">NDEBUG</if>
|
||||
</set>
|
||||
|
||||
<!-- does not cover all cases, but better than nothing -->
|
||||
<set var="NO_VC_CRTDBG">
|
||||
<if cond="FORMAT=='msvc' and BUILD=='debug' and DEBUG_RUNTIME_LIBS=='0'">__NO_VC_CRTDBG__</if>
|
||||
@@ -485,6 +490,7 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
|
||||
<define>__WX$(TOOLKIT)__</define>
|
||||
<define>$(WXUNIV_DEFINE)</define>
|
||||
<define>$(DEBUG_DEFINE)</define>
|
||||
<define>$(NDEBUG_DEFINE)</define>
|
||||
<define>$(EXCEPTIONS_DEFINE)</define>
|
||||
<define>$(RTTI_DEFINE)</define>
|
||||
<define>$(THREAD_DEFINE)</define>
|
||||
|
Reference in New Issue
Block a user