diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-04-05 15:08:41 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-04-09 21:56:41 +0000 |
commit | 64a2e6ff1cb9c169f251ee5983c27156b27a0470 (patch) | |
tree | 6a040792be8ae07be92c5c420c6388aa2a5d7d70 /mkspecs/features/gn_generator.prf | |
parent | 649f960f9bf66ea3f49dc2f723ed6d8d51e1963f (diff) |
Enable precompiled headers for qtwebengine corev5.13.0-beta2
Chromium requires us to add a special config to enable precompiled
headers. Note this still depends additionally on that the corresponding
GN flag is also set.
Changes in 3rdparty:
9401dc18ce02 Add precompiled object files to qmake link output
8ba90427ae5e Improve the issue with long file names on windows
Change-Id: I6680232e17a5254d3ca53e5a40e6a15a6b7fc82d
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'mkspecs/features/gn_generator.prf')
-rw-r--r-- | mkspecs/features/gn_generator.prf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mkspecs/features/gn_generator.prf b/mkspecs/features/gn_generator.prf index e6ae263ac..4b8462415 100644 --- a/mkspecs/features/gn_generator.prf +++ b/mkspecs/features/gn_generator.prf @@ -177,7 +177,8 @@ GN_CONTENTS += "$${TARGET_TYPE}(\"$$TARGET\") {" for (imp, GN_IMPORTS): GN_CONTENTS += " import(\"$$imp\")" } -GN_CONTENTS += " configs += [ \":$${TARGET}_config\" ] " +GN_CONTENTS += " configs += [ \":$${TARGET}_config\" ]" +GN_CONTENTS += " configs += [ \"//build/config:precompiled_headers\" ]" # Source files to compile GN_CONTENTS += " sources = [" |