summaryrefslogtreecommitdiffstats
path: root/util/cmake/configurejson2cmake.py
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-05-28 14:16:01 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-05-28 14:04:40 +0000
commit499771f3eaf48a3a22769298efcb8dee7db6a04a (patch)
treebf403c433ef6ffbbca3eb0205d6b1e4d8437bca7 /util/cmake/configurejson2cmake.py
parentcae4c5c2cef9399193d6aa477565b86c5718570e (diff)
Enhance the porting scripts with some new functionality
These were some hard requirements while porting QtQml .pro files so that the generated CMake code is syntactically correct and the result buildable. This include handling of a few more different condition scopes and disabling the c++ make_unique feature test. Change-Id: Iae875ffaf8d100296e8b56b57d076455e5d72006 Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'util/cmake/configurejson2cmake.py')
-rwxr-xr-xutil/cmake/configurejson2cmake.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py
index 09f76a272d..148109e2a4 100755
--- a/util/cmake/configurejson2cmake.py
+++ b/util/cmake/configurejson2cmake.py
@@ -620,6 +620,8 @@ def parseFeature(ctx, feature, data, cm_fh):
'c++14': None,
'c++1y': None,
'c++1z': None,
+ # FIXME: used in qtdeclarative, drop when we require C++14
+ 'cxx14_make_unique': None,
'c89': None,
'c99': None,
'ccache': None,