diff options
author | Cristián Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2022-10-20 16:33:01 +0200 |
---|---|---|
committer | Cristián Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2023-02-02 00:21:18 +0100 |
commit | f799f1dd678cd17b59436a0c3a734135841eaa10 (patch) | |
tree | daec6b6ce7bb7e01db9c0409ac80ca49c685a0c8 /build_scripts/platforms/macos.py | |
parent | 945424bd2e94673a465460c4c4a32b7738b912e0 (diff) |
build: introduce log level
Removed the "quiet" and "verbose" older approach,
and introduced a 3-level configuration so we can switch
between them depending of the amount of output we need.
By default, the log level is set to INFO,
but it can be changed to VERBOSE and QUIET.
The older "--verbose-build" and "--quiet" options were deprecated.
The new way for setting the log level is:
--log-level=quiet
--log-level=verbose
--log-level=info (default)
The default option was made less verbose, controlling the output
of the logging module, and cmake:
for verbose it uses DEBUG, quiet uses ERROR, and no option uses INFO.
Change-Id: Ida0289e3ea0ed09b7489a7513254137bba186fd0
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'build_scripts/platforms/macos.py')
-rw-r--r-- | build_scripts/platforms/macos.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build_scripts/platforms/macos.py b/build_scripts/platforms/macos.py index 53e5c6fa5..53cc32308 100644 --- a/build_scripts/platforms/macos.py +++ b/build_scripts/platforms/macos.py @@ -4,6 +4,7 @@ import fnmatch from pathlib import Path +from ..log import log from ..config import config from ..options import OPTION from ..utils import (copydir, copyfile, macos_add_rpath, @@ -32,6 +33,7 @@ def prepare_standalone_package_macos(pyside_build, _vars): destination_dir = Path("{st_build_dir}/{st_package_name}".format(**_vars)) destination_qt_dir = destination_dir / "Qt" destination_qt_lib_dir = destination_qt_dir / "lib" + log.info("Copying files...") if config.is_internal_shiboken_generator_build(): constrain_modules = ["Core", "Network", "Xml", "XmlPatterns"] |