summaryrefslogtreecommitdiff
path: root/src/tools/ocbr/CMakeLists.txt
blob: f7ba66cdc0a65abf6ad1c7d6fc5649c32623ac08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${CMAKE_CURRENT_BINARY_DIR})

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

get_filename_component(CURRENT_SOURCE_PARENT_DIR
  ${CMAKE_CURRENT_SOURCE_DIR} DIRECTORY)

include_directories(${CURRENT_SOURCE_PARENT_DIR})

set(SOURCE_FILES
  # Add source files here
  ocbr.c
  )

add_executable(ocbr ${SOURCE_FILES})

target_link_libraries(ocbr LINK_PUBLIC ouroboros-dev)

install(TARGETS ocbr RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})