File: CMakeLists.txt

package info (click to toggle)
rdma-core 61.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,124 kB
  • sloc: ansic: 176,798; python: 15,496; sh: 2,742; perl: 1,465; makefile: 73
file content (32 lines) | stat: -rw-r--r-- 1,102 bytes parent folder | download | duplicates (2)
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
# Shared example files
add_library(ibverbs_tools STATIC
  pingpong.c
  )

if(HAVE_WCAST_ALIGN_STRICT)
    target_compile_options(ibverbs_tools PRIVATE "-Wcast-align=strict")
endif()

rdma_executable(ibv_asyncwatch asyncwatch.c)
target_link_libraries(ibv_asyncwatch LINK_PRIVATE ibverbs)

rdma_executable(ibv_devices device_list.c)
target_link_libraries(ibv_devices LINK_PRIVATE ibverbs)

rdma_executable(ibv_devinfo devinfo.c)
target_link_libraries(ibv_devinfo LINK_PRIVATE ibverbs)

rdma_executable(ibv_rc_pingpong rc_pingpong.c)
target_link_libraries(ibv_rc_pingpong LINK_PRIVATE ibverbs ibverbs_tools)

rdma_executable(ibv_srq_pingpong srq_pingpong.c)
target_link_libraries(ibv_srq_pingpong LINK_PRIVATE ibverbs ibverbs_tools)

rdma_executable(ibv_uc_pingpong uc_pingpong.c)
target_link_libraries(ibv_uc_pingpong LINK_PRIVATE ibverbs ibverbs_tools)

rdma_executable(ibv_ud_pingpong ud_pingpong.c)
target_link_libraries(ibv_ud_pingpong LINK_PRIVATE ibverbs ibverbs_tools)

rdma_executable(ibv_xsrq_pingpong xsrq_pingpong.c)
target_link_libraries(ibv_xsrq_pingpong LINK_PRIVATE ibverbs ibverbs_tools)