summaryrefslogtreecommitdiffstats
path: root/src/seastar/pkgconfig/seastar.pc.in
blob: 5e6b602360e05b02b0cf5aac232e06527cdb12c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
prefix=@Seastar_PKG_CONFIG_PREFIX@
exec_prefix=${prefix}
seastar_include_flags=@Seastar_PKG_CONFIG_SEASTAR_INCLUDE_FLAGS@
libdir=@Seastar_PKG_CONFIG_LIBDIR@

Name: Seastar
Url: http://seastar-project.org
Description: Advanced C++ framework for high-performance server applications on modern hardware.
Version: @PROJECT_VERSION@

# Platform dependencies.
stdatomic_libs=$<JOIN:@StdAtomic_LIBRARIES@, >
dl_libs=-l$<JOIN:@CMAKE_DL_LIBS@,-l>
rt_libs=$<JOIN:@rt_LIBRARIES@, >

# Dependencies of dependencies.
boost_system_libs=@Boost_SYSTEM_LIBRARY@

# Dependencies.
boost_cflags=-I$<JOIN:@Boost_INCLUDE_DIRS@, -I>
boost_program_options_libs=@Boost_PROGRAM_OPTIONS_LIBRARY@
boost_thread_libs=${boost_system_libs} @Boost_THREAD_LIBRARY@
c_ares_cflags=-I$<JOIN:@c-ares_INCLUDE_DIRS@, -I>
c_ares_libs=$<JOIN:@c-ares_LIBRARIES@, >
cryptopp_cflags=-I$<JOIN:@cryptopp_INCLUDE_DIRS@, -I>
cryptopp_libs=$<JOIN:@cryptopp_LIBRARIES@, >
fmt_cflags=-I$<JOIN:$<TARGET_PROPERTY:fmt::fmt,INTERFACE_INCLUDE_DIRECTORIES>, -I>
fmt_libs=$<TARGET_LINKER_FILE:fmt::fmt>
lksctp_tools_cflags=-I$<JOIN:@lksctp-tools_INCLUDE_DIRS@, -I>
lksctp_tools_libs=$<JOIN:@lksctp-tools_LIBRARIES@, >
liburing_cflags=$<$<BOOL:@Seastar_IO_URING@>:-I$<JOIN:$<TARGET_PROPERTY:URING::uring,INTERFACE_INCLUDE_DIRECTORIES>, -I>>
liburing_libs=$<$<BOOL:@Seastar_IO_URING@>:$<JOIN:@URING_LIBRARIES@, >>
numactl_cflags=-I$<JOIN:@numactl_INCLUDE_DIRS@, -I>
numactl_libs=$<JOIN:@numactl_LIBRARIES@, >

# Us.
seastar_cflags=${seastar_include_flags} $<JOIN:$<FILTER:$<TARGET_PROPERTY:seastar,INTERFACE_COMPILE_OPTIONS>,EXCLUDE,-Wno-error=#warnings>, > -D$<JOIN:$<TARGET_PROPERTY:seastar,INTERFACE_COMPILE_DEFINITIONS>, -D>
seastar_libs=${libdir}/$<TARGET_FILE_NAME:seastar> @Seastar_SPLIT_DWARF_FLAG@ $<JOIN:@Seastar_Sanitizers_OPTIONS@, >

Requires: liblz4 >= 1.7.3
Requires.private: gnutls >= 3.2.26, hwloc >= 1.11.2, $<$<BOOL:@Seastar_IO_URING@>:liburing $<ANGLE-R>= 2.0, >yaml-cpp >= 0.5.1
Conflicts:
Cflags: ${boost_cflags} ${c_ares_cflags} ${cryptopp_cflags} ${fmt_cflags} ${liburing_cflags} ${lksctp_tools_cflags} ${numactl_cflags} ${seastar_cflags}
Libs: ${seastar_libs} ${boost_program_options_libs} ${boost_thread_libs} ${c_ares_libs} ${cryptopp_libs} ${fmt_libs}
Libs.private: ${dl_libs} ${rt_libs} ${boost_thread_libs} ${lksctp_tools_libs} ${liburing_libs} ${numactl_libs} ${stdatomic_libs}