summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
blob: c8150c460560560b9e6472dde90dff39a178c94b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
add_library(kiro SHARED kiro-trb.c kiro-client.c kiro-server.c)
set_target_properties(kiro PROPERTIES
    VERSION "${LIBKIRO_VERSION_MAJOR}.${LIBKIRO_VERSION_MINOR}"
    SOVERSION ${LIBKIRO_VERSION_PATCH}
)
target_link_libraries(kiro m rdmacm ibverbs pthread)

install(FILES kiro-rdma.h kiro-trb.h kiro-client.h kiro-server.h DESTINATION
    ${KIRO_INCLUDEDIR}/kiro)

install(TARGETS kiro
    LIBRARY DESTINATION ${KIRO_LIBDIR}
)