summaryrefslogtreecommitdiffstats
path: root/src/seastar/pkgconfig/seastar-testing.pc.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/seastar/pkgconfig/seastar-testing.pc.in')
-rw-r--r--src/seastar/pkgconfig/seastar-testing.pc.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/seastar/pkgconfig/seastar-testing.pc.in b/src/seastar/pkgconfig/seastar-testing.pc.in
new file mode 100644
index 000000000..f7d2d7390
--- /dev/null
+++ b/src/seastar/pkgconfig/seastar-testing.pc.in
@@ -0,0 +1,21 @@
+prefix=@Seastar_PKG_CONFIG_PREFIX@
+exec_prefix=${prefix}
+libdir=@Seastar_PKG_CONFIG_LIBDIR@
+
+Name: Seastar testing
+Url: http://seastar-project.org
+Description: Testing tools for libraries and applications built with Seastar
+Version: @PROJECT_VERSION@
+
+# Dependencies.
+boost_cflags=-I$<JOIN:@Boost_INCLUDE_DIRS@, -I>
+boost_unit_test_libs=@Boost_UNIT_TEST_FRAMEWORK_LIBRARY@
+
+# Us.
+seastar_testing_cflags=-DBoost_TEST_DYN_LINK
+seastar_testing_libs=${libdir}/$<TARGET_FILE_NAME:seastar_testing>
+
+Requires: seastar >= 1.0
+Conflicts:
+Cflags: ${boost_cflags} ${seastar_testing_cflags}
+Libs: ${boost_unit_test_libs} ${seastar_testing_libs}