找回密码
 用户注册

QQ登录

只需一步,快速开始

查看: 4534|回复: 1

Linux下怎样关闭ACE_DEBUG ?

[复制链接]
发表于 2008-9-18 23:30:39 | 显示全部楼层 |阅读模式
如题,我觉得在Makefile中定义NDEBUG应该就可以了,但是我的makefile是按照<<The ACE programer's guide>>做的,不知道怎么改。makefile如下:
BIN   = hello_ace
BUILD = $(VBIN)
SRC = $(addsuffix .cpp,$(BIN))
LDFLAGS = -L$(PROJ_ROOT)/lib
#---------------------------------------------------
#Include macros and targets
#---------------------------------------------------
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
include $(ACE_ROOT)/include/makeinclude/macros.GNU
include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
include $(ACE_ROOT)/include/makeinclude/rules.local.GNU

实际上我在Win32上做了个Release版,在Preprocessor中定义了NDEBUG,但仍然没有将ACE_DEBUG关闭,望各位朋友能够帮忙!!!
 楼主| 发表于 2008-9-18 23:30:48 | 显示全部楼层
makefile中加一行:

CPPFLAGS += -DACE_NLOGGING
您需要登录后才可以回帖 登录 | 用户注册

本版积分规则

Archiver|手机版|小黑屋|ACE Developer ( 京ICP备06055248号 )

GMT+8, 2024-12-4 15:48 , Processed in 0.032826 second(s), 5 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表