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