summaryrefslogtreecommitdiffstats
path: root/sync.profile
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2018-06-25 09:46:23 +0200
committerJohan Helsing <johan.helsing@qt.io>2018-06-25 14:13:59 +0000
commit4c628bb1016371332c31f5393cf81fe785e47453 (patch)
tree861f33407d80b413afca91856f5df52856d5b737 /sync.profile
parent9487f226cc6eba557ededf1d138de510cb2763e1 (diff)
sync.profile: Use inject_headers and private_headers for generated files
Change-Id: I6cdc2eb0c5310462c4b1486cd03af9bd433bcf63 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'sync.profile')
-rw-r--r--sync.profile28
1 files changed, 28 insertions, 0 deletions
diff --git a/sync.profile b/sync.profile
index 458ee9f2..92399f79 100644
--- a/sync.profile
+++ b/sync.profile
@@ -17,3 +17,31 @@
%classnames = (
"qwaylandquickextension.h" => "QWaylandQuickExtension",
);
+%inject_headers = (
+ "$basedir/src/client" => [
+ "^qwayland-hardware-integration.h",
+ "^qwayland-qt-windowmanager.h",
+ "^qwayland-qtkey-extension.h" ,
+ "^qwayland-server-buffer-extension.h",
+ "^qwayland-surface-extension.h",
+ "^qwayland-text-input-unstable-v2.h",
+ "^qwayland-touch-extension.h",
+ "^qwayland-wayland.h",
+ "^qwayland-xdg-shell-unstable-v6.h",
+ "^qwayland-xdg-shell.h",
+ ],
+ "$basedir/src/compositor" => [
+ "^qwayland-server-wayland.h",
+ "^qwayland-server-hardware-integration.h",
+ "^qwayland-server-ivi-application.h",
+ "^qwayland-server-qt-windowmanager.h",
+ "^qwayland-server-qtkey-extension.h",
+ "^qwayland-server-server-buffer-extension.h",
+ "^qwayland-server-text-input-unstable-v2.h",
+ "^qwayland-server-touch-extension.h",
+ "^qwayland-server-xdg-shell-unstable-v6.h",
+ "^qwayland-server-xdg-shell.h",
+ "^wayland-wayland-server-protocol.h",
+ ],
+);
+@private_headers = ( qr/^qwayland-.*\.h/, qr/^wayland-.*-protocol\.h/ );