summaryrefslogtreecommitdiff
path: root/cmake/tools/obc.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/tools/obc.cmake')
-rw-r--r--cmake/tools/obc.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/tools/obc.cmake b/cmake/tools/obc.cmake
new file mode 100644
index 00000000..99e001b6
--- /dev/null
+++ b/cmake/tools/obc.cmake
@@ -0,0 +1,4 @@
+add_executable(obc "${TOOLS_SOURCE_DIR}/obc/obc.c")
+target_include_directories(obc PRIVATE ${TOOLS_INCLUDE_DIRS})
+target_link_libraries(obc PUBLIC ouroboros-dev)
+install(TARGETS obc RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})