Files
fail/tools/compute-hops/CMakeLists.txt
Lars Rademacher 5df364dea2 compute-hops: re-enabled memory usage lookup
Change-Id: I51c7dcac5e6077364da63f4189fea9a90c43e059
2014-01-23 18:53:21 +01:00

14 lines
409 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)