Files
fail/tools/compute-hops/CMakeLists.txt
Horst Schirmeier 277958b31b cleanups
Change-Id: I8022d937477668253c613e97c3a579ae65084b1e
2014-06-03 11:47:20 +02:00

14 lines
407 B
CMake

set(SRCS
ResultCollector.cc
SimpleAlgorithm.cc
SmartAlgorithm.cc
)
if(NOT CONFIG_INJECTIONPOINT_HOPS)
message (FATAL_ERROR "For building the compute-hops tool you need to enable CONFIG_INJECTIONPOINT_HOPS")
endif()
add_executable(compute-hops main.cc ${SRCS})
target_link_libraries(compute-hops ${PROTOBUF_LIBRARY} fail-util fail-comm procps)
install(TARGETS compute-hops RUNTIME DESTINATION bin)