summaryrefslogtreecommitdiff
path: root/src/tools/irm/CMakeLists.txt
blob: 08bf54878e56e0daecbac3a05ff75cf8a2c7a1bd (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
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_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_register.c
  irm_unregister.c
  irm_utils.c
  )

add_executable(irm ${SOURCE_FILES})

target_link_libraries(irm LINK_PUBLIC ouroboros-irm)

install(TARGETS irm RUNTIME DESTINATION sbin)