summaryrefslogtreecommitdiff
path: root/src/tools/irm/CMakeLists.txt
blob: e5e5c466a3ae1722dc3b61eaaaa581827fd197a4 (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
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${CMAKE_CURRENT_BINARY_DIR})

include_directories(${CMAKE_SOURCE_DIR}/include)
include_directories(${CMAKE_BINARY_DIR}/include)

set(SOURCE_FILES
  # Add source files here
  irm.c
  irm_bind_program.c
  irm_bind_process.c
  irm_bind_ipcp.c
  irm_ipcp_create.c
  irm_ipcp_destroy.c
  irm_ipcp_bootstrap.c
  irm_ipcp_enroll.c
  irm_ipcp_list.c
  irm_ipcp_connect.c
  irm_ipcp_disconnect.c
  irm_unbind_program.c
  irm_unbind_process.c
  irm_unbind_ipcp.c
  irm_unbind.c
  irm_bind.c
  irm_ipcp.c
  irm_name.c
  irm_name_create.c
  irm_name_destroy.c
  irm_name_reg.c
  irm_name_unreg.c
  irm_name_list.c
  irm_utils.c
  )

add_executable(irm ${SOURCE_FILES})

target_link_libraries(irm LINK_PUBLIC ouroboros-irm)

install(TARGETS irm RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR})