X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95ff11c4bb0b4a58f86f096871489b5723e2102c..a8e87569b7ea3494ef29ac9caa6cb7f219329c50:/samples/console/makefile.vc diff --git a/samples/console/makefile.vc b/samples/console/makefile.vc index 5d72adf971..ea8b9c5896 100644 --- a/samples/console/makefile.vc +++ b/samples/console/makefile.vc @@ -39,10 +39,10 @@ PORTNAME = base !if "$(USE_GUI)" == "1" PORTNAME = msw !endif -!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" +!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" WXDEBUGFLAG = d !endif -!if "$(DEBUG_FLAG)" == "1" +!if "$(DEBUG_RUNTIME_LIBS)" == "1" WXDEBUGFLAG = d !endif !if "$(UNICODE)" == "1" @@ -177,11 +177,8 @@ __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ !if "$(WXUNIV)" == "1" __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ !endif -!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" -__DEBUG_DEFINE_p = /D__WXDEBUG__ -!endif -!if "$(DEBUG_FLAG)" == "1" -__DEBUG_DEFINE_p = /D__WXDEBUG__ +!if "$(DEBUG_FLAG)" == "0" +__DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0 !endif !if "$(USE_EXCEPTIONS)" == "0" __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS