forked from qt-creator/qt-creator
scripts: make release with debug info default
Change-Id: If08eeb64bfda42780f6ba9223c3394ce8daf6a6b Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -113,7 +113,7 @@ def build_qtcreator(args, paths):
|
|||||||
if paths.elfutils:
|
if paths.elfutils:
|
||||||
prefix_paths += [paths.elfutils]
|
prefix_paths += [paths.elfutils]
|
||||||
prefix_paths = [common.to_posix_path(fp) for fp in prefix_paths]
|
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'
|
with_docs_str = 'OFF' if args.no_docs else 'ON'
|
||||||
build_date_option = 'OFF' if args.no_build_date else 'ON'
|
build_date_option = 'OFF' if args.no_build_date else 'ON'
|
||||||
test_option = 'ON' if args.with_tests else 'OFF'
|
test_option = 'ON' if args.with_tests else 'OFF'
|
||||||
|
@@ -67,7 +67,7 @@ def build(args, paths):
|
|||||||
os.makedirs(paths.result)
|
os.makedirs(paths.result)
|
||||||
prefix_paths = [os.path.abspath(fp) for fp in args.prefix_paths] + [paths.qt_creator, paths.qt]
|
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]
|
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',
|
cmake_args = ['cmake',
|
||||||
'-DCMAKE_PREFIX_PATH=' + ';'.join(prefix_paths),
|
'-DCMAKE_PREFIX_PATH=' + ';'.join(prefix_paths),
|
||||||
'-DCMAKE_BUILD_TYPE=' + build_type,
|
'-DCMAKE_BUILD_TYPE=' + build_type,
|
||||||
|
Reference in New Issue
Block a user