aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/pch_files.qbs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2016-06-23 11:00:52 +0200
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2016-06-23 11:45:37 +0000
commite54b53cdaa1db79558e2e4b676cfc697c0375298 (patch)
treef26a87a69bb349144a0a3db4fe5cd37c55bc3564 /src/shared/pch_files.qbs
parenteeb1a8fe58cef1995b7293e39baf8a6c30e08b24 (diff)
qbs build: Use precompiled headers.
It was an oversight that we haven't done this before. Change-Id: Ic338503f6c1ca5e6c52c9af3bdbdb92b7776cac1 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Diffstat (limited to 'src/shared/pch_files.qbs')
-rw-r--r--src/shared/pch_files.qbs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/shared/pch_files.qbs b/src/shared/pch_files.qbs
new file mode 100644
index 0000000000..237f8456db
--- /dev/null
+++ b/src/shared/pch_files.qbs
@@ -0,0 +1,16 @@
+import qbs
+import qbs.FileInfo
+
+Product {
+ name: "precompiled headers"
+ condition: qtc.make_dev_package
+ Depends { name: "qtc" }
+ Group {
+ files: [
+ "qtcreator_pch.h",
+ "qtcreator_gui_pch.h",
+ ]
+ qbs.install: true
+ qbs.installDir: qtc.ide_shared_sources_path
+ }
+}