summaryrefslogtreecommitdiffstats
path: root/src/seastar/pkgconfig/seastar-testing.pc.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:20 +0000
commit483eb2f56657e8e7f419ab1a4fab8dce9ade8609 (patch)
treee5d88d25d870d5dedacb6bbdbe2a966086a0a5cf /src/seastar/pkgconfig/seastar-testing.pc.in
parentInitial commit. (diff)
downloadceph-upstream.tar.xz
ceph-upstream.zip
Adding upstream version 14.2.21.upstream/14.2.21upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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 00000000..f7d2d739
--- /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}