aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/build.py
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@qt.io>2020-11-11 20:12:07 +0100
committerTim Jenssen <tim.jenssen@qt.io>2020-11-11 19:23:23 +0000
commitb1640074e3630fff8d510c0f96efdfcfeedb93a1 (patch)
tree3d5bd58c69d28f3c827ffda82648dd8960acb4a3 /scripts/build.py
parentc1e850123af9f7df633222db106223fa01f81fc0 (diff)
scripts: make release with debug info default
Change-Id: If08eeb64bfda42780f6ba9223c3394ce8daf6a6b Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'scripts/build.py')
-rwxr-xr-xscripts/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build.py b/scripts/build.py
index 1fcc7fb66df..fb7f5b0a221 100755
--- a/scripts/build.py
+++ b/scripts/build.py
@@ -113,7 +113,7 @@ def build_qtcreator(args, paths):
if paths.elfutils:
prefix_paths += [paths.elfutils]
prefix_paths = [common.to_posix_path(fp) for fp in prefix_paths]
- build_type = 'Debug' if args.debug else 'Release'
+ build_type = 'Debug' if args.debug else 'RelWithDebInfo'
with_docs_str = 'OFF' if args.no_docs else 'ON'
build_date_option = 'OFF' if args.no_build_date else 'ON'
test_option = 'ON' if args.with_tests else 'OFF'