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