summaryrefslogtreecommitdiffstats
path: root/util/cmake/configurejson2cmake.py
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-07-08 10:25:19 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-07-13 10:51:15 +0200
commit8a0676d5f9b54bc3d291223c3e88e91043a81507 (patch)
treec091c02808e339361328f48a9f19e911dc273db5 /util/cmake/configurejson2cmake.py
parent3094bcc3c5a30635289f534884965d39ac35a11a (diff)
configurejson2cmake: Generalize special case support
The SpecialCaseHandler supported only two file names: "CMakeLists.txt" and "configure.cmake". Generalize the code to allow for arbitrary file names. We will use this in a subsequent commit. Change-Id: I0adada91409a11a369fd1cf2d6ab21cc8f28ba0f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util/cmake/configurejson2cmake.py')
-rwxr-xr-xutil/cmake/configurejson2cmake.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py
index 970b87e30e..e2e3890364 100755
--- a/util/cmake/configurejson2cmake.py
+++ b/util/cmake/configurejson2cmake.py
@@ -1398,7 +1398,6 @@ def processJson(path, ctx, data):
os.path.abspath(destination),
os.path.abspath(generated_file),
os.path.abspath(path),
- convertingProFiles=False,
debug=False,
)
if handler.handle_special_cases():