summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-11-01 10:59:53 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2022-02-15 15:47:29 +0100
commit0e1f290cadb0a99ad0791d3f26a07f66fd7b89ef (patch)
tree13f659f7cb0d2b6dcd21b494c4fe83a1791af5c3 /util
parentd91330faa591bc7ff0c9bb5bd3e4ec6abea3d690 (diff)
configure: Remove unused facility to define variable assignments
The function qt_commandline_assignment and everything related to it is removed from configure. It was only used in qtbase, and all usage has been removed. More general variable assignments will be added in a subsequent commit. Task-number: QTBUG-88210 Change-Id: I7cfa782e89914f2b0dc0277c46e425c8a825557e Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 6ab16d52d282b1a370cda3f0cf0827142250ac29) Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'util')
-rwxr-xr-xutil/cmake/configurejson2cmake.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py
index 3be7118080..d177ba3fe4 100755
--- a/util/cmake/configurejson2cmake.py
+++ b/util/cmake/configurejson2cmake.py
@@ -1413,11 +1413,6 @@ def parseCommandLinePrefixes(ctx, data, cm_fh):
cm_fh.write(f"qt_commandline_prefix({key} {data[key]})\n")
-def parseCommandLineAssignments(ctx, data, cm_fh):
- for key in data:
- cm_fh.write(f"qt_commandline_assignment({key} {data[key]})\n")
-
-
def processCommandLine(ctx, data, cm_fh):
print(" commandline:")
@@ -1439,8 +1434,7 @@ def processCommandLine(ctx, data, cm_fh):
print(" prefix:")
parseCommandLinePrefixes(ctx, commandLine["prefix"], cm_fh)
if "assignments" in commandLine:
- print(" assignments:")
- parseCommandLineAssignments(ctx, commandLine["assignments"], cm_fh)
+ print(" assignments are ignored")
def processInputs(ctx, data, cm_fh):