scripts: make release with debug info default

Change-Id: If08eeb64bfda42780f6ba9223c3394ce8daf6a6b
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Tim Jenssen
2020-11-11 20:12:07 +01:00
parent c1e850123a
commit b1640074e3
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ def build(args, paths):
os.makedirs(paths.result)
prefix_paths = [os.path.abspath(fp) for fp in args.prefix_paths] + [paths.qt_creator, paths.qt]
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'
cmake_args = ['cmake',
'-DCMAKE_PREFIX_PATH=' + ';'.join(prefix_paths),
'-DCMAKE_BUILD_TYPE=' + build_type,