aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/exports-pkgconfig/firstlib.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-03-06 10:47:29 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2018-06-04 13:03:13 +0000
commitb3e1e3e3b307e60924dcf3cf308488a362de88f0 (patch)
treecd0ee0824eba2693198681ee587b691ee5e28e50 /tests/auto/blackbox/testdata/exports-pkgconfig/firstlib.h
parent400d9e1d66aacb2760b2190a5f10cfc3d5d359d2 (diff)
Add module Exporter.pkgconfig
This module generates .pc files for products, optionally attempting to derive some of the entries from the contents of the Export item. [ChangeLog] Added new module "Exporter.pkgconfig" for creating pkg- config metadata files. Task-number: QBS-1232 Change-Id: Ic41e645e4462e8f85ad6c2025fb967e88d3438f9 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/blackbox/testdata/exports-pkgconfig/firstlib.h')
-rw-r--r--tests/auto/blackbox/testdata/exports-pkgconfig/firstlib.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/exports-pkgconfig/firstlib.h b/tests/auto/blackbox/testdata/exports-pkgconfig/firstlib.h
new file mode 100644
index 000000000..1ccfb0868
--- /dev/null
+++ b/tests/auto/blackbox/testdata/exports-pkgconfig/firstlib.h
@@ -0,0 +1,9 @@
+#include "../dllexport.h"
+
+#ifdef FIRSTLIB
+# define FIRSTLIB_EXPORT DLL_EXPORT
+#else
+# define FIRSTLIB_EXPORT DLL_IMPORT
+#endif
+
+FIRSTLIB_EXPORT void firstLib();