summaryrefslogtreecommitdiff
path: root/config.in
authorkergoth <kergoth>2003-01-24 01:09:11 (UTC)
committer kergoth <kergoth>2003-01-24 01:09:11 (UTC)
commitfdf29b4b01231c746f7697365fcd7bd57d154365 (patch) (side-by-side diff)
tree309306f501beb67a0267fa2b925a3fdaadbd6f2a /config.in
parent3de1877c4c39c3cc99848204da8e32fc6e3d9efb (diff)
downloadopie-fdf29b4b01231c746f7697365fcd7bd57d154365.zip
opie-fdf29b4b01231c746f7697365fcd7bd57d154365.tar.gz
opie-fdf29b4b01231c746f7697365fcd7bd57d154365.tar.bz2
Add debug to config system. enabling/disabling this option alters a toplevel gen.pro file, which alters the CONFIG parameter in the .pro files. In this way you can enable/disable debug builds globally via the config system.
Diffstat (limited to 'config.in') (more/less context) (show whitespace changes)
-rw-r--r--config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.in b/config.in
index 8559e73..97e1e80 100644
--- a/config.in
+++ b/config.in
@@ -33,16 +33,20 @@ choice
boolean "Ipaq"
endchoice
config OPTIMIZE
boolean "Use optimizations"
default "y" if ! TARGET_X86
+config DEBUG
+ boolean "Enable debug builds"
+ default "n"
+
config SPECFILE
string
default "qws/linux-generic-g++" if TARGET_X86 && (! X11)
default "linux-g++" if TARGET_X86 && X11
default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11)
default "linux-g++" if TARGET_SHARP && X11
# default "linux-oz-g++" if TARGET_OZ
default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11)