author | mickeyl <mickeyl> | 2004-03-27 17:47:53 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-03-27 17:47:53 (UTC) |
commit | 6effd0ccc193cacaa1eb8225bf6e542e7d04b2bf (patch) (unidiff) | |
tree | 5917b89a4548ab6321ff0950ce31b89c868f5437 | |
parent | 3d23fd31862609a2268450b44246079b8dcfb0b7 (diff) | |
download | opie-6effd0ccc193cacaa1eb8225bf6e542e7d04b2bf.zip opie-6effd0ccc193cacaa1eb8225bf6e542e7d04b2bf.tar.gz opie-6effd0ccc193cacaa1eb8225bf6e542e7d04b2bf.tar.bz2 |
define OPIE_NO_DEBUG for release builds (see usage example in libopie2/core/odebug.*)
-rw-r--r-- | Rules.make | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -9,16 +9,17 @@ $(TOPDIR)/gen.pro : $(TOPDIR)/.config | |||
9 | ifneq ($(CONFIG_DEBUG),) | 9 | ifneq ($(CONFIG_DEBUG),) |
10 | echo CONFIG += debug >> $@ | 10 | echo CONFIG += debug >> $@ |
11 | echo CONFIG -= release >> $@ | 11 | echo CONFIG -= release >> $@ |
12 | echo DEFINES += "QT_COMPONENT_DEBUG=2" >> $@ | 12 | echo DEFINES += "QT_COMPONENT_DEBUG=2" >> $@ |
13 | echo DEFINES += QT_DEBUG >> $@ | 13 | echo DEFINES += QT_DEBUG >> $@ |
14 | else | 14 | else |
15 | echo CONFIG -= debug >> $@ | 15 | echo CONFIG -= debug >> $@ |
16 | echo CONFIG += release >> $@ | 16 | echo CONFIG += release >> $@ |
17 | echo DEFINES += "OPIE_NO_DEBUG" >> $@ | ||
17 | endif | 18 | endif |
18 | ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3 | 19 | ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3 |
19 | echo CONFIG -= qt3 >> $@ | 20 | echo CONFIG -= qt3 >> $@ |
20 | else | 21 | else |
21 | echo CONFIG += qt3 >> $@ | 22 | echo CONFIG += qt3 >> $@ |
22 | endif | 23 | endif |
23 | ifneq ($(CONFIG_QUICK_LAUNCH),) | 24 | ifneq ($(CONFIG_QUICK_LAUNCH),) |
24 | echo contains\( CONFIG, quick-app \) \{ >> $@ | 25 | echo contains\( CONFIG, quick-app \) \{ >> $@ |