diff options
author | Eike Ziller <[email protected]> | 2023-10-05 13:45:44 +0200 |
---|---|---|
committer | Eike Ziller <[email protected]> | 2023-10-10 14:38:07 +0000 |
commit | 839f737946db31fa1534f578dce71c19bbcdb515 (patch) | |
tree | 372549c9cd98142dd07a21854d314f211f9cd881 | |
parent | b14e7d0cb745bc4d04e25bce400905d494aa4634 (diff) |
build.py: Apply additional config to all builds
Not only Qt Creator but also cdbextension & wininterrupt.
Otherwise there is no way to pass additional configuration to these.
Change-Id: I2bd4894f212df9795e1d66577bb25a26b29224a4
Reviewed-by: <[email protected]>
Reviewed-by: Cristian Adam <[email protected]>
-rwxr-xr-x | scripts/build.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build.py b/scripts/build.py index 2fced683b1b..72c7d3571ad 100755 --- a/scripts/build.py +++ b/scripts/build.py @@ -146,6 +146,8 @@ def common_cmake_arguments(args): # Qt otherwise adds dependencies on libGLX and libOpenGL cmake_args += ['-DOpenGL_GL_PREFERENCE=LEGACY'] + cmake_args += args.config_args + return cmake_args def build_qtcreator(args, paths): @@ -194,8 +196,6 @@ def build_qtcreator(args, paths): if common.is_linux_platform(): cmake_args += ['-DCPACK_INSTALL_PREFIX=/opt/qt-creator'] - cmake_args += args.config_args - common.check_print_call(cmake_args + [paths.src], paths.build) build_args = ['cmake', '--build', '.'] if args.make_args: |